CMake: Tidy up build system

And fix Windows CMake... who knows how long for.
This commit is contained in:
Stenzek
2024-04-20 20:26:53 +10:00
parent a88ee93b4d
commit 8867bb129a
14 changed files with 288 additions and 253 deletions

View File

@ -20,11 +20,9 @@ if(WIN32)
src/wgl.c
)
else()
if(ENABLE_EGL)
target_sources(glad PRIVATE
include/EGL/eglplatform.h
include/glad/egl.h
src/egl.c
)
endif()
target_sources(glad PRIVATE
include/EGL/eglplatform.h
include/glad/egl.h
src/egl.c
)
endif()