diff --git a/src/Platform/CMakeLists.txt b/src/Platform/CMakeLists.txt index 75e846f..3e52c59 100644 --- a/src/Platform/CMakeLists.txt +++ b/src/Platform/CMakeLists.txt @@ -11,7 +11,7 @@ add_executable(b_list list.cc Datasets.cc Dataset.cc) add_executable(b_best best.cc BestResults.cc Result.cc Statistics.cc BestResultsExcel.cc ExcelFile.cc) add_executable(testx testx.cpp Datasets.cc Dataset.cc Folding.cc ) target_link_libraries(b_main BayesNet ArffFiles mdlp "${TORCH_LIBRARIES}") -if (${CMAKE_HOST_SYSTEM_NAME} MATCHES "Linux") +if ( CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") target_link_libraries(b_manage "${TORCH_LIBRARIES}" libxlsxwriter.so ArffFiles mdlp stdc++fs) target_link_libraries(b_best Boost::boost libxlsxwriter.so stdc++fs) else()