mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Don't build tests and examples when building with EGL
This commit is contained in:
parent
c878281487
commit
29b4ed4e9a
|
@ -48,7 +48,10 @@ elseif (UNIX AND NOT APPLE)
|
|||
set(_GLFW_X11 1)
|
||||
if (GLFW_USE_EGL)
|
||||
set(_GLFW_X11_EGL 1)
|
||||
set(GLFW_BUILD_EXAMPLES 0)
|
||||
set(GLFW_BUILD_TESTS 0)
|
||||
message(STATUS "Building GLFW for X11 and EGL on a Unix-like system")
|
||||
message(STATUS "NOTE: Examples and tests are disabled for EGL")
|
||||
else()
|
||||
set(_GLFW_X11_GLX 1)
|
||||
message(STATUS "Building GLFW for X11 and GLX on a Unix-like system")
|
||||
|
|
Loading…
Reference in New Issue
Block a user