changeset 76:8da2a7bef495

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Aug 2021 17:00:53 +0200
parents cbfc72a53970 (current diff) 5217f6f8a8cf (diff)
children e7ff5efb100d
files
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Mon Aug 09 16:59:59 2021 +0200
+++ b/CMakeLists.txt	Mon Aug 09 17:00:53 2021 +0200
@@ -43,8 +43,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")
   include(FindBoost)
   find_package(Boost COMPONENTS filesystem regex thread)
@@ -63,6 +61,7 @@
   #set(ENABLE_MODULE_DICOM OFF CACHE INTERNAL "")
   
   include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake)
+  include_directories(${ORTHANC_FRAMEWORK_ROOT})
 endif()