comparison Resources/CMake/OrthancStoneConfiguration.cmake @ 1455:30deba7bc8e2

simplifying include_directories
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 20:54:01 +0200
parents b2b0fc4a5596
children 5a6c76797b60
comparison
equal deleted inserted replaced
1454:faaff0a1711e 1455:30deba7bc8e2
29 set(ENABLE_LOCALE OFF) # Disable support for locales (notably in Boost) 29 set(ENABLE_LOCALE OFF) # Disable support for locales (notably in Boost)
30 endif() 30 endif()
31 endif() 31 endif()
32 32
33 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkConfiguration.cmake) 33 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkConfiguration.cmake)
34 include_directories(${ORTHANC_ROOT}) 34 include_directories(
35 ${ORTHANC_ROOT}/Core
36 ${ORTHANC_ROOT}/Plugins/Samples/Common
37 )
35 38
36 39
37 ##################################################################### 40 #####################################################################
38 ## Sanity check of the configuration 41 ## Sanity check of the configuration
39 ##################################################################### 42 #####################################################################
285 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.cpp 288 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.cpp
286 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.h 289 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.h
287 ) 290 )
288 endif() 291 endif()
289 292
290 if ( (ENABLE_SDL OR ENABLE_WASM) AND ENABLE_GUIADAPTER ) 293 if ((ENABLE_SDL OR ENABLE_WASM) AND ENABLE_GUIADAPTER)
291 list(APPEND APPLICATIONS_SOURCES 294 list(APPEND APPLICATIONS_SOURCES
292 ${ORTHANC_STONE_ROOT}/Deprecated/Applications/Generic/GuiAdapter.cpp 295 ${ORTHANC_STONE_ROOT}/Deprecated/Applications/Generic/GuiAdapter.cpp
293 ${ORTHANC_STONE_ROOT}/Deprecated/Applications/Generic/GuiAdapter.h 296 ${ORTHANC_STONE_ROOT}/Deprecated/Applications/Generic/GuiAdapter.h
294 ) 297 )
295 include_directories(${ORTHANC_STONE_ROOT}/Deprecated)
296 endif() 298 endif()
297 299
298 300
299 list(APPEND ORTHANC_STONE_SOURCES 301 list(APPEND ORTHANC_STONE_SOURCES
300 302