diff options
Diffstat (limited to 'externals/glad')
| -rw-r--r-- | externals/glad/CMakeLists.txt | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/externals/glad/CMakeLists.txt b/externals/glad/CMakeLists.txt index 6d35a844b..c43ae475a 100644 --- a/externals/glad/CMakeLists.txt +++ b/externals/glad/CMakeLists.txt | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | set(SRCS | 1 | add_library(glad STATIC |
| 2 | src/glad.c | 2 | src/glad.c |
| 3 | ) | 3 | include/KHR/khrplatform.h |
| 4 | set(HEADERS | 4 | include/glad/glad.h |
| 5 | include/KHR/khrplatform.h | 5 | ) |
| 6 | include/glad/glad.h | ||
| 7 | ) | ||
| 8 | 6 | ||
| 9 | create_directory_groups(${SRCS} ${HEADERS}) | 7 | create_target_directory_groups(glad) |
| 10 | add_library(glad STATIC ${SRCS} ${HEADERS}) | ||
| 11 | target_include_directories(glad PUBLIC "include/") | 8 | target_include_directories(glad PUBLIC "include/") |
| 12 | 9 | ||
| 13 | if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") | 10 | if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") |