mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-27 04:28:52 -05:00
Merged CMake platform file picking blocks.
This commit is contained in:
parent
17d9051b82
commit
8113c00712
|
@ -24,19 +24,17 @@ elseif (_GLFW_WIN32)
|
||||||
win32_init.c win32_monitor.c win32_time.c win32_tls.c
|
win32_init.c win32_monitor.c win32_time.c win32_tls.c
|
||||||
win32_window.c winmm_joystick.c)
|
win32_window.c winmm_joystick.c)
|
||||||
elseif (_GLFW_X11)
|
elseif (_GLFW_X11)
|
||||||
set(glfw_HEADERS ${common_HEADERS} x11_platform.h posix_tls.h)
|
set(glfw_HEADERS ${common_HEADERS} x11_platform.h linux_joystick.h
|
||||||
|
posix_time.h posix_tls.h)
|
||||||
set(glfw_SOURCES ${common_SOURCES} x11_clipboard.c x11_gamma.c x11_init.c
|
set(glfw_SOURCES ${common_SOURCES} x11_clipboard.c x11_gamma.c x11_init.c
|
||||||
x11_monitor.c x11_window.c x11_unicode.c posix_tls.c)
|
x11_monitor.c x11_window.c x11_unicode.c linux_joystick.c
|
||||||
|
posix_time.c posix_tls.c)
|
||||||
elseif (_GLFW_WAYLAND)
|
elseif (_GLFW_WAYLAND)
|
||||||
set(glfw_HEADERS ${common_HEADERS} wayland_platform.h posix_tls.h)
|
set(glfw_HEADERS ${common_HEADERS} wayland_platform.h linux_joystick.h
|
||||||
|
posix_time.h posix_tls.h)
|
||||||
set(glfw_SOURCES ${common_SOURCES} wayland_clipboard.c wayland_gamma.c
|
set(glfw_SOURCES ${common_SOURCES} wayland_clipboard.c wayland_gamma.c
|
||||||
wayland_init.c wayland_monitor.c wayland_window.c
|
wayland_init.c wayland_monitor.c wayland_window.c
|
||||||
posix_tls.c)
|
linux_joystick.c posix_time.c posix_tls.c)
|
||||||
endif()
|
|
||||||
|
|
||||||
if (_GLFW_X11 OR _GLFW_WAYLAND)
|
|
||||||
list(APPEND glfw_HEADERS linux_joystick.h posix_time.h)
|
|
||||||
list(APPEND glfw_SOURCES linux_joystick.c posix_time.c)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (_GLFW_EGL)
|
if (_GLFW_EGL)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user