comparison Resources/CMake/OrthancStoneConfiguration.cmake @ 667:e9339f2b5de7

refactoring of VolumeImage
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 15 May 2019 17:30:58 +0200
parents 419e5662d7a5
children 7719eb852dd5
comparison
equal deleted inserted replaced
665:419e5662d7a5 667:e9339f2b5de7
145 endif() 145 endif()
146 146
147 147
148 if (ENABLE_OPENGL) 148 if (ENABLE_OPENGL)
149 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten") 149 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
150 # If including "FindOpenGL.cmake" using Emscripten (targetting 150 # If including "FindOpenGL.cmake" using Emscripten (targeting
151 # WebAssembly), the "OPENGL_LIBRARIES" value incorrectly includes 151 # WebAssembly), the "OPENGL_LIBRARIES" value incorrectly includes
152 # the "nul" library, which leads to warning message in Emscripten: 152 # the "nul" library, which leads to warning message in Emscripten:
153 # 'shared:WARNING: emcc: cannot find library "nul"'. 153 # 'shared:WARNING: emcc: cannot find library "nul"'.
154 include(FindOpenGL) 154 include(FindOpenGL)
155 if (NOT OPENGL_FOUND) 155 if (NOT OPENGL_FOUND)