Add boost library link to linux build

This commit is contained in:
Ricardo Montañana Gómez 2023-09-26 01:07:50 +02:00
parent dcba146e12
commit f0d0abe891
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE

View File

@ -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)