Mercurial > hg > orthanc-wsi
changeset 208:541a4aa63278
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Aug 2020 17:13:35 +0200 |
parents | 3d457e61a88c |
children | 628201cb48c2 |
files | Applications/CMakeLists.txt |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/CMakeLists.txt Tue Aug 04 17:01:54 2020 +0200 +++ b/Applications/CMakeLists.txt Tue Aug 04 17:13:35 2020 +0200 @@ -26,16 +26,17 @@ SET(ORTHANC_WSI_DIR ${CMAKE_CURRENT_LIST_DIR}/..) SET(USE_OPENJPEG_JP2 ON) -include_directories(${ORTHANC_FRAMEWORK_ROOT}) - if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") set(ENABLE_DCMTK ON) set(ORTHANC_BOOST_COMPONENTS program_options) include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/CMake/DownloadOrthancFramework.cmake) + link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES}) + include_directories(${ORTHANC_FRAMEWORK_ROOT}) else() include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/CMake/DownloadOrthancFramework.cmake) + include_directories(${ORTHANC_FRAMEWORK_ROOT}) UNSET(STANDALONE_BUILD CACHE) SET(STANDALONE_BUILD ON) # Embed DCMTK's dictionaries for static builds