From 13fc4ebffa2d87844d8802b84a42acceac0810e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 27 Feb 2021 14:26:58 +0100 Subject: [PATCH] Platform: suggest EXCLUDE_FROM_ALL for a GLFW CMake subproject. --- src/Magnum/Platform/GlfwApplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Platform/GlfwApplication.h b/src/Magnum/Platform/GlfwApplication.h index c4f491665..85fd42770 100644 --- a/src/Magnum/Platform/GlfwApplication.h +++ b/src/Magnum/Platform/GlfwApplication.h @@ -116,7 +116,7 @@ the first part and point `CMAKE_PREFIX_PATH` to its installation dir if necessary. @code{.cmake} -add_subdirectory(glfw) +add_subdirectory(glfw EXCLUDE_FROM_ALL) set(WITH_GLFWAPPLICATION ON CACHE BOOL "" FORCE) add_subdirectory(magnum EXCLUDE_FROM_ALL)