CMake: Tidy up build system

And fix Windows CMake... who knows how long for.
This commit is contained in:
Stenzek committed 2024-04-20 21:19:31 +10:00
1 parent a88ee93b4d
commit 8867bb129a
14 files changed
+288 -253

No files matched your search

+5 -7
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()