diff options
Diffstat (limited to 'externals/glad')
| -rw-r--r-- | externals/glad/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/externals/glad/CMakeLists.txt b/externals/glad/CMakeLists.txt index a97d4aa73..6d35a844b 100644 --- a/externals/glad/CMakeLists.txt +++ b/externals/glad/CMakeLists.txt | |||
| @@ -9,6 +9,7 @@ set(HEADERS | |||
| 9 | create_directory_groups(${SRCS} ${HEADERS}) | 9 | create_directory_groups(${SRCS} ${HEADERS}) |
| 10 | add_library(glad STATIC ${SRCS} ${HEADERS}) | 10 | add_library(glad STATIC ${SRCS} ${HEADERS}) |
| 11 | target_include_directories(glad PUBLIC "include/") | 11 | target_include_directories(glad PUBLIC "include/") |
| 12 | |||
| 12 | if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") | 13 | if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") |
| 13 | target_link_libraries(glad dl) | 14 | target_link_libraries(glad PRIVATE dl) |
| 14 | endif() | 15 | endif() |