comparison Resources/CMake/OrthancStoneConfiguration.cmake @ 1171:ba08f2b0a779 broker

integration mainline->broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Nov 2019 13:10:30 +0100
parents e265ed3f7843 f2951ac074bd
children 9c8f557ea799
comparison
equal deleted inserted replaced
1170:1644de437a7b 1171:ba08f2b0a779
51 message(FATAL_ERROR "Cannot enable QT in sandboxed environments") 51 message(FATAL_ERROR "Cannot enable QT in sandboxed environments")
52 endif() 52 endif()
53 53
54 if (ENABLE_SSL) 54 if (ENABLE_SSL)
55 message(FATAL_ERROR "Cannot enable SSL in sandboxed environments") 55 message(FATAL_ERROR "Cannot enable SSL in sandboxed environments")
56 endif()
57 endif()
58
59 if (ENABLE_OPENGL)
60 if (NOT ENABLE_QT AND NOT ENABLE_SDL AND NOT ENABLE_WASM)
61 message(FATAL_ERROR "Cannot enable OpenGL if WebAssembly, SDL and Qt are all disabled")
56 endif() 62 endif()
57 endif() 63 endif()
58 64
59 if (ENABLE_WASM) 65 if (ENABLE_WASM)
60 if (NOT ORTHANC_SANDBOXED) 66 if (NOT ORTHANC_SANDBOXED)