From f0d0abe8919c548a80c10458e3feaca67f82dcdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Tue, 26 Sep 2023 01:07:50 +0200 Subject: [PATCH] Add boost library link to linux build --- 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 eca6b72..db32852 100644 --- a/src/Platform/CMakeLists.txt +++ b/src/Platform/CMakeLists.txt @@ -12,7 +12,7 @@ add_executable(best best.cc BestResults.cc Result.cc) target_link_libraries(main BayesNet ArffFiles mdlp "${TORCH_LIBRARIES}") if (${CMAKE_HOST_SYSTEM_NAME} MATCHES "Linux") target_link_libraries(manage "${TORCH_LIBRARIES}" libxlsxwriter.so ArffFiles mdlp stdc++fs) - target_link_libraries(best stdc++fs) + target_link_libraries(best Boost::boost stdc++fs) else() target_link_libraries(manage "${TORCH_LIBRARIES}" "${XLSXWRITER_LIB}" ArffFiles mdlp) target_link_libraries(best Boost::boost)