Mercurial > hg > orthanc-wsi
changeset 292:053af6d76f2a
fix shared library linking
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 Jul 2023 17:20:14 +0200 |
parents | 5fe243cef6e9 |
children | 0ad6bb263752 |
files | Applications/CMakeLists.txt |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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})