Linux CMakeLists.txt adjustment
This commit is contained in:
parent
9d3d9cc6c6
commit
a4401cb78f
@ -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})
|
||||
|
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user