Mercurial > hg > orthanc-webviewer
comparison CMakeLists.txt @ 261:1256885f525c
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Jun 2020 18:26:32 +0200 |
parents | 37a7d9ed4696 |
children | 6ee63d85b5fc |
comparison
equal
deleted
inserted
replaced
260:620ed85fb514 | 261:1256885f525c |
---|---|
45 set(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK") | 45 set(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK") |
46 | 46 |
47 | 47 |
48 # Download and setup the Orthanc framework | 48 # Download and setup the Orthanc framework |
49 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/DownloadOrthancFramework.cmake) | 49 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/DownloadOrthancFramework.cmake) |
50 | |
51 set(ORTHANC_FRAMEWORK_PLUGIN ON) | |
52 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake) | 50 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake) |
53 | 51 |
54 set(ENABLE_LOCALE OFF) # Disable support for locales (notably in Boost) | 52 set(ENABLE_LOCALE OFF) # Disable support for locales (notably in Boost) |
55 set(ENABLE_GOOGLE_TEST ON) | 53 set(ENABLE_GOOGLE_TEST ON) |
56 set(ENABLE_SQLITE ON) | 54 set(ENABLE_SQLITE ON) |
90 ) | 88 ) |
91 endif() | 89 endif() |
92 | 90 |
93 add_definitions( | 91 add_definitions( |
94 -DORTHANC_ENABLE_LOGGING_PLUGIN=1 | 92 -DORTHANC_ENABLE_LOGGING_PLUGIN=1 |
93 -DORTHANC_FRAMEWORK_BUILDING_PLUGIN=1 | |
95 -DHAS_ORTHANC_EXCEPTION=1 | 94 -DHAS_ORTHANC_EXCEPTION=1 |
96 ) | 95 ) |
97 | 96 |
98 EmbedResources( | 97 EmbedResources( |
99 ORTHANC_EXPLORER ${CMAKE_SOURCE_DIR}/Resources/OrthancExplorer.js | 98 ORTHANC_EXPLORER ${CMAKE_SOURCE_DIR}/Resources/OrthancExplorer.js |