diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3ba760f9..680cb241 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,13 +23,15 @@ elseif (_GLFW_WIN32_WGL) elseif (_GLFW_X11_GLX) set(glfw_HEADERS ${common_HEADERS} x11_platform.h) 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) + x11_gamma.c x11_glx_opengl.c x11_init.c x11_input.c + x11_joystick.c x11_keysym2unicode.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_fullscreen.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) + x11_keysym2unicode.c x11_egl_opengl.c x11_time.c + x11_window.c) endif() add_library(glfw ${glfw_SOURCES} ${glfw_HEADERS}) diff --git a/src/x11_opengl.c b/src/x11_glx_opengl.c similarity index 100% rename from src/x11_opengl.c rename to src/x11_glx_opengl.c