mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Seperate Context from Window in CMakeLists, add option to build for EGL
This commit is contained in:
@@ -25,6 +25,11 @@ elseif (_GLFW_X11_GLX)
|
||||
set(glfw_SOURCES ${common_SOURCES} x11_clipboard.c x11_fullscreen.c
|
||||
x11_gamma.c x11_init.c x11_input.c x11_joystick.c
|
||||
x11_keysym2unicode.c x11_opengl.c x11_time.c x11_window.c)
|
||||
elseif (_GLFW_X11_EGL)
|
||||
set(glfw_HEADERS ${common_HEADERS} x11_egl_platform.h)
|
||||
set(glfw_SOURCES ${common_SOURCES} x11_clipboard.c
|
||||
x11_gamma.c x11_init.c x11_input.c x11_joystick.c
|
||||
x11_keysym2unicode.c x11_egl_opengl.c x11_time.c x11_window.c)
|
||||
endif()
|
||||
|
||||
add_library(glfw ${glfw_SOURCES} ${glfw_HEADERS})
|
||||
|
||||
Reference in New Issue
Block a user