comparison ViewerPlugin/CMakeLists.txt @ 192:f299c191cd76

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 07:41:22 +0200
parents 7326f7d105e1
children e57e6ca5303d
comparison
equal deleted inserted replaced
191:ce70678d9a9c 192:f299c191cd76
39 set(ENABLE_JPEG ON) 39 set(ENABLE_JPEG ON)
40 set(HAS_EMBEDDED_RESOURCES ON) 40 set(HAS_EMBEDDED_RESOURCES ON)
41 41
42 include(${ORTHANC_ROOT}/Resources/CMake/VisualStudioPrecompiledHeaders.cmake) 42 include(${ORTHANC_ROOT}/Resources/CMake/VisualStudioPrecompiledHeaders.cmake)
43 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkConfiguration.cmake) 43 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkConfiguration.cmake)
44 include_directories(${ORTHANC_ROOT}) 44 include_directories(
45 ${ORTHANC_ROOT}/Core/
46 ${ORTHANC_ROOT}/Plugins/Samples/Common/
47 )
45 48
46 # Include components specific to WSI 49 # Include components specific to WSI
47 include(${ORTHANC_WSI_DIR}/Resources/CMake/Version.cmake) 50 include(${ORTHANC_WSI_DIR}/Resources/CMake/Version.cmake)
48 include(${ORTHANC_WSI_DIR}/Resources/CMake/OpenJpegConfiguration.cmake) 51 include(${ORTHANC_WSI_DIR}/Resources/CMake/OpenJpegConfiguration.cmake)
49 52
188 ##################################################################### 191 #####################################################################
189 ## Create the plugin 192 ## Create the plugin
190 ##################################################################### 193 #####################################################################
191 194
192 add_library(OrthancWSI SHARED 195 add_library(OrthancWSI SHARED
196 ${ORTHANC_WSI_PCH}
197 ${ORTHANC_WSI_SOURCES}
193 ${ORTHANC_CORE_PCH} 198 ${ORTHANC_CORE_PCH}
194 ${ORTHANC_CORE_SOURCES_INTERNAL} 199 ${ORTHANC_CORE_SOURCES_INTERNAL}
195 ${ORTHANC_CORE_SOURCES_DEPENDENCIES} 200 ${ORTHANC_CORE_SOURCES_DEPENDENCIES}
196 ${ORTHANC_WSI_PCH}
197 ${ORTHANC_WSI_SOURCES}
198 ${AUTOGENERATED_SOURCES} 201 ${AUTOGENERATED_SOURCES}
199 ${OPENJPEG_SOURCES} 202 ${OPENJPEG_SOURCES}
200 ) 203 )
201 204
202 message("Setting the version of the library to ${ORTHANC_WSI_VERSION}") 205 message("Setting the version of the library to ${ORTHANC_WSI_VERSION}")