From 977ff6fddbd02dc669bc697bd5829ab31d7cde90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Fri, 13 Oct 2023 14:01:52 +0200 Subject: [PATCH] Update CMakeLists for Linux --- src/Platform/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()