Mercurial > hg > orthanc-python
comparison CMakeLists.txt @ 74:5217f6f8a8cf
improved CMakeLists.txt
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Jun 2021 09:09:04 +0200 |
parents | da73be4b361b |
children | 2b9d82366e3a |
comparison
equal
deleted
inserted
replaced
73:da73be4b361b | 74:5217f6f8a8cf |
---|---|
40 mark_as_advanced(ORTHANC_FRAMEWORK_STATIC) | 40 mark_as_advanced(ORTHANC_FRAMEWORK_STATIC) |
41 | 41 |
42 | 42 |
43 # Download and setup the Orthanc framework | 43 # Download and setup the Orthanc framework |
44 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake) | 44 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake) |
45 | |
46 include_directories(${ORTHANC_FRAMEWORK_ROOT}) | |
47 | 45 |
48 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") | 46 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") |
49 include(FindBoost) | 47 include(FindBoost) |
50 find_package(Boost COMPONENTS filesystem regex thread) | 48 find_package(Boost COMPONENTS filesystem regex thread) |
51 | 49 |
61 #set(ENABLE_MODULE_IMAGES OFF CACHE INTERNAL "") | 59 #set(ENABLE_MODULE_IMAGES OFF CACHE INTERNAL "") |
62 #set(ENABLE_MODULE_JOBS OFF CACHE INTERNAL "") | 60 #set(ENABLE_MODULE_JOBS OFF CACHE INTERNAL "") |
63 #set(ENABLE_MODULE_DICOM OFF CACHE INTERNAL "") | 61 #set(ENABLE_MODULE_DICOM OFF CACHE INTERNAL "") |
64 | 62 |
65 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) | 63 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) |
64 include_directories(${ORTHANC_FRAMEWORK_ROOT}) | |
66 endif() | 65 endif() |
67 | 66 |
68 | 67 |
69 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) | 68 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) |
70 | 69 |