# HG changeset patch # User Sebastien Jodogne # Date 1689261614 -7200 # Node ID 053af6d76f2a556a75adad3230ee9baea1c54744 # Parent 5fe243cef6e9afc796afdf63da8df49c44b7676c fix shared library linking diff -r 5fe243cef6e9 -r 053af6d76f2a Applications/CMakeLists.txt --- a/Applications/CMakeLists.txt Thu Jul 13 16:57:27 2023 +0200 +++ b/Applications/CMakeLists.txt Thu Jul 13 17:20:14 2023 +0200 @@ -51,14 +51,14 @@ if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") if (ORTHANC_FRAMEWORK_USE_SHARED) include(FindBoost) - find_package(Boost COMPONENTS filesystem program_options regex system thread) + find_package(Boost COMPONENTS filesystem program_options regex system thread date_time) if (NOT Boost_FOUND) message(FATAL_ERROR "Unable to locate Boost on this system") endif() include(FindDCMTK) - link_libraries(${Boost_LIBRARIES} ${DCMTK_LIBRARIES} jsoncpp) + link_libraries(${Boost_LIBRARIES} ${DCMTK_LIBRARIES} jsoncpp crypto) endif() link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES})