comparison Applications/Samples/Sdl/CMakeLists.txt @ 1591:5887a4f8594b

moving platform-specific files out of the "OrthancStone" folder
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 23 Oct 2020 13:15:03 +0200
parents 8c5f9864545f
children 0d4b11ba86df
comparison
equal deleted inserted replaced
1590:7b963bccafef 1591:5887a4f8594b
19 19
20 cmake_minimum_required(VERSION 2.8.10) 20 cmake_minimum_required(VERSION 2.8.10)
21 21
22 project(OrthancStone) 22 project(OrthancStone)
23 23
24 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/Resources/CMake/OrthancStoneParameters.cmake) 24 include(${CMAKE_SOURCE_DIR}/../../Platforms/Sdl/OrthancStoneSdlParameters.cmake)
25 25
26 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") 26 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system")
27 set(ORTHANC_BOOST_COMPONENTS program_options) 27 set(ORTHANC_BOOST_COMPONENTS program_options)
28 28
29 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") 29 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test")
41 41
42 set(ENABLE_DCMTK ON) # <== 42 set(ENABLE_DCMTK ON) # <==
43 set(ENABLE_SDL ON) 43 set(ENABLE_SDL ON)
44 SET(ENABLE_PUGIXML ON) # To test compilation of OsiriX annotations 44 SET(ENABLE_PUGIXML ON) # To test compilation of OsiriX annotations
45 45
46 include(${ORTHANC_STONE_ROOT}/Resources/CMake/OrthancStoneConfiguration.cmake) 46 include(${CMAKE_SOURCE_DIR}/../../Platforms/Sdl/OrthancStoneSdlConfiguration.cmake)
47 include(${CMAKE_SOURCE_DIR}/Utilities.cmake) 47 include(${CMAKE_SOURCE_DIR}/Utilities.cmake)
48 48
49 if (NOT ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") 49 if (NOT ORTHANC_FRAMEWORK_SOURCE STREQUAL "system")
50 # This include must be after "OrthancStoneConfiguration.cmake" to 50 # This include must be after "OrthancStoneConfiguration.cmake" to
51 # have "BOOST_SOURCES_DIR" defined 51 # have "BOOST_SOURCES_DIR" defined