diff --git a/CMakeLists.txt b/CMakeLists.txt index eb77a77..c18c9ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ option(CODE_COVERAGE "Collect coverage from test library" OFF) set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) -find_package(Boost 1.78.0 REQUIRED) +find_package(Boost 1.66.0 REQUIRED) if(Boost_FOUND) message("Boost_INCLUDE_DIRS=${Boost_INCLUDE_DIRS}") include_directories(${Boost_INCLUDE_DIRS}) diff --git a/src/Platform/CMakeLists.txt b/src/Platform/CMakeLists.txt index f3c4de6..dcf5de7 100644 --- a/src/Platform/CMakeLists.txt +++ b/src/Platform/CMakeLists.txt @@ -12,7 +12,7 @@ add_executable(best best.cc BestResults.cc Result.cc Statistics.cc BestResultsEx 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 Boost::boost "${XLSXWRITER_LIB}" stdc++fs) + target_link_libraries(best Boost::boost libxlsxwriter.so stdc++fs) else() target_link_libraries(manage "${TORCH_LIBRARIES}" "${XLSXWRITER_LIB}" ArffFiles mdlp) target_link_libraries(best Boost::boost "${XLSXWRITER_LIB}")