Mercurial > hg > orthanc-wsi
changeset 207:3d457e61a88c
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Aug 2020 17:01:54 +0200 |
parents | e12a4588d4bd |
children | 541a4aa63278 |
files | ViewerPlugin/CMakeLists.txt |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ViewerPlugin/CMakeLists.txt Tue Aug 04 14:15:51 2020 +0200 +++ b/ViewerPlugin/CMakeLists.txt Tue Aug 04 17:01:54 2020 +0200 @@ -29,11 +29,11 @@ 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) include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/CMake/DownloadOrthancFramework.cmake) + + include_directories(${ORTHANC_FRAMEWORK_ROOT}) link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES}) else() @@ -47,6 +47,8 @@ include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/VisualStudioPrecompiledHeaders.cmake) include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) + + include_directories(${ORTHANC_FRAMEWORK_ROOT}) endif() include(${ORTHANC_WSI_DIR}/Resources/Orthanc/Plugins/OrthancPluginsExports.cmake)