Browse Source

CMake: expose WITH_GLFWAPPLICATION only on desktop.

It's not ported to any mobile or web platform right now.
pull/234/head
Vladimír Vondruš 6 years ago
parent
commit
c3b4dc2a4f
  1. 4
      CMakeLists.txt

4
CMakeLists.txt

@ -155,9 +155,11 @@ endif()
# Platform-independent (almost) application libraries
if(NOT CORRADE_TARGET_ANDROID)
option(WITH_GLFWAPPLICATION "Build GlfwApplication library" OFF)
option(WITH_SDL2APPLICATION "Build Sdl2Application library" OFF)
endif()
if(NOT CORRADE_TARGET_ANDROID AND NOT CORRADE_TARGET_IOS AND NOT CORRADE_TARGET_EMSCRIPTEN)
option(WITH_GLFWAPPLICATION "Build GlfwApplication library" OFF)
endif()
option(BUILD_DEPRECATED "Include deprecated API in the build" ON)
if(BUILD_DEPRECATED)

Loading…
Cancel
Save