comparison Applications/CMakeLists.txt @ 141:c9271bb5ef94

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Apr 2018 20:04:56 +0200
parents a0f9a3df1110
children 442102e14933
comparison
equal deleted inserted replaced
140:a0f9a3df1110 141:c9271bb5ef94
46 SET(ENABLE_SSL ON) 46 SET(ENABLE_SSL ON)
47 SET(ENABLE_WEB_CLIENT ON) 47 SET(ENABLE_WEB_CLIENT ON)
48 SET(ENABLE_ZLIB ON) 48 SET(ENABLE_ZLIB ON)
49 SET(HAS_EMBEDDED_RESOURCES ON) 49 SET(HAS_EMBEDDED_RESOURCES ON)
50 50
51 include(${ORTHANC_ROOT}/Resources/CMake/VisualStudioPrecompiledHeaders.cmake)
51 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkConfiguration.cmake) 52 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkConfiguration.cmake)
52 include_directories(${ORTHANC_ROOT}) 53 include_directories(${ORTHANC_ROOT})
53 54
54 55
55 # Include components specific to WSI 56 # Include components specific to WSI
114 BRIGHTFIELD_OPTICAL_PATH ${ORTHANC_WSI_DIR}/Resources/BrightfieldOpticalPath.json 115 BRIGHTFIELD_OPTICAL_PATH ${ORTHANC_WSI_DIR}/Resources/BrightfieldOpticalPath.json
115 SAMPLE_DATASET ${ORTHANC_WSI_DIR}/Resources/SampleDataset.json 116 SAMPLE_DATASET ${ORTHANC_WSI_DIR}/Resources/SampleDataset.json
116 SRGB_ICC_PROFILE ${ORTHANC_WSI_DIR}/Resources/sRGB.icc 117 SRGB_ICC_PROFILE ${ORTHANC_WSI_DIR}/Resources/sRGB.icc
117 ) 118 )
118 119
120 add_definitions(
121 -DHAS_ORTHANC_EXCEPTION=1
122 )
123
119 124
120 ##################################################################### 125 #####################################################################
121 ## Setup precompiled headers for Microsoft Visual Studio 126 ## Setup precompiled headers for Microsoft Visual Studio
122 ##################################################################### 127 #####################################################################
123 128