comparison Resources/CMake/OrthancStoneConfiguration.cmake @ 1028:6d5382fa45e1

fix qt
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Oct 2019 21:58:13 +0200
parents 633186a2ed03
children efc5b62b9539
comparison
equal deleted inserted replaced
1027:dd8ff977aaf2 1028:6d5382fa45e1
104 ) 104 )
105 endif() 105 endif()
106 106
107 107
108 if (ENABLE_SDL AND ENABLE_QT) 108 if (ENABLE_SDL AND ENABLE_QT)
109 message("SDL and QT may not be defined together") 109 message("SDL and QT cannot not be enabled together")
110 elseif(ENABLE_SDL) 110 elseif(ENABLE_SDL)
111 message("SDL is enabled") 111 message("SDL is enabled")
112 include(${CMAKE_CURRENT_LIST_DIR}/SdlConfiguration.cmake) 112 include(${CMAKE_CURRENT_LIST_DIR}/SdlConfiguration.cmake)
113 add_definitions( 113 add_definitions(
114 -DORTHANC_ENABLE_QT=0 114 -DORTHANC_ENABLE_QT=0
265 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Viewport/CairoFont.cpp 265 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Viewport/CairoFont.cpp
266 ) 266 )
267 endif() 267 endif()
268 268
269 if (ENABLE_SDL OR ENABLE_QT) 269 if (ENABLE_SDL OR ENABLE_QT)
270 list(APPEND APPLICATIONS_SOURCES 270 if (ENABLE_STONE_DEPRECATED)
271 ${ORTHANC_STONE_ROOT}/Applications/Generic/NativeStoneApplicationRunner.cpp 271 list(APPEND APPLICATIONS_SOURCES
272 ${ORTHANC_STONE_ROOT}/Applications/Generic/NativeStoneApplicationContext.cpp 272 ${ORTHANC_STONE_ROOT}/Applications/Generic/NativeStoneApplicationRunner.cpp
273 ) 273 ${ORTHANC_STONE_ROOT}/Applications/Generic/NativeStoneApplicationContext.cpp
274 )
275 endif()
276
274 if (ENABLE_SDL) 277 if (ENABLE_SDL)
275 list(APPEND APPLICATIONS_SOURCES 278 list(APPEND APPLICATIONS_SOURCES
276 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlCairoSurface.cpp 279 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlCairoSurface.cpp
277 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlEngine.cpp 280 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlEngine.cpp
278 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlOrthancSurface.cpp 281 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlOrthancSurface.cpp