Browse Source

Platform: suggest that bundled GLFW should have buncha things disabled.

The so-far-perfect impression of GLFW being a heaven to integrate just
got a bunch of tiny cracks. Good thing it's being fixed for the next
version, although I'd personally disable the docs as well.
pull/518/head
Vladimír Vondruš 5 years ago
parent
commit
686648f120
  1. 4
      src/Magnum/Platform/GlfwApplication.h

4
src/Magnum/Platform/GlfwApplication.h

@ -116,6 +116,10 @@ the first part and point `CMAKE_PREFIX_PATH` to its installation dir if
necessary.
@code{.cmake}
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
# These two will be off-by-default when GLFW 3.4 gets released
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
add_subdirectory(glfw EXCLUDE_FROM_ALL)
set(WITH_GLFWAPPLICATION ON CACHE BOOL "" FORCE)

Loading…
Cancel
Save