# HG changeset patch # User Sebastien Jodogne # Date 1624431303 -7200 # Node ID 253c165cc6fc65fc3b4d1a176c412dca68364f5b # Parent 35f3b72a164cb73551977d603a093169381154bd improved CMakeLists.txt diff -r 35f3b72a164c -r 253c165cc6fc CMakeLists.txt --- a/CMakeLists.txt Sat Jun 12 08:26:45 2021 +0200 +++ b/CMakeLists.txt Wed Jun 23 08:55:03 2021 +0200 @@ -57,8 +57,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) @@ -88,6 +86,7 @@ set(USE_BOOST_ICONV ON) include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) + include_directories(${ORTHANC_FRAMEWORK_ROOT}) endif()