Mercurial > hg > orthanc-gdcm
changeset 51:79b03e3437bd
improved CMakeLists.txt
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Jun 2021 09:07:46 +0200 (2021-06-23) |
parents | 35cc6de67002 |
children | ff8aec4536de |
files | CMakeLists.txt |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Mon Jun 14 17:03:25 2021 +0200 +++ b/CMakeLists.txt Wed Jun 23 09:07:46 2021 +0200 @@ -50,8 +50,6 @@ # Download and setup the Orthanc framework include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake) -include_directories(${ORTHANC_FRAMEWORK_ROOT}) - if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") if (ORTHANC_FRAMEWORK_USE_SHARED) include(FindBoost) @@ -74,6 +72,7 @@ set(ENABLE_MODULE_JOBS OFF CACHE INTERNAL "") include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) + include_directories(${ORTHANC_FRAMEWORK_ROOT}) endif()