Mercurial > hg > orthanc-stone
comparison Applications/Samples/Sdl/CMakeLists.txt @ 1901:184b0aeae1af
fix build of sdl
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 29 Jan 2022 16:55:14 +0100 |
parents | a05529952510 |
children | e160c324c32a |
comparison
equal
deleted
inserted
replaced
1900:563f6aa8e24c | 1901:184b0aeae1af |
---|---|
23 | 23 |
24 project(OrthancStone) | 24 project(OrthancStone) |
25 | 25 |
26 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") | 26 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") |
27 set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") | 27 set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") |
28 include(${CMAKE_SOURCE_DIR}/../../Platforms/Sdl/OrthancStoneSdlParameters.cmake) | 28 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/Resources/CMake/OrthancStoneSdlParameters.cmake) |
29 | 29 |
30 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") | 30 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") |
31 set(ORTHANC_BOOST_COMPONENTS program_options) | 31 set(ORTHANC_BOOST_COMPONENTS program_options) |
32 | 32 |
33 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") | 33 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") |
45 | 45 |
46 set(ENABLE_DCMTK ON) # <== | 46 set(ENABLE_DCMTK ON) # <== |
47 set(ENABLE_SDL ON) | 47 set(ENABLE_SDL ON) |
48 SET(ENABLE_PUGIXML ON) # To test compilation of OsiriX annotations | 48 SET(ENABLE_PUGIXML ON) # To test compilation of OsiriX annotations |
49 | 49 |
50 include(${CMAKE_SOURCE_DIR}/../../Platforms/Sdl/OrthancStoneSdlConfiguration.cmake) | 50 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/Resources/CMake/OrthancStoneSdlConfiguration.cmake) |
51 include(${CMAKE_SOURCE_DIR}/Utilities.cmake) | 51 include(${CMAKE_SOURCE_DIR}/Utilities.cmake) |
52 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/UnitTestsSources/UnitTestsSources.cmake) | 52 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/UnitTestsSources/UnitTestsSources.cmake) |
53 | 53 |
54 if (NOT ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") | 54 if (NOT ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") |
55 # This include must be after "OrthancStoneConfiguration.cmake" to | 55 # This include must be after "OrthancStoneConfiguration.cmake" to |