diff options
| author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-29 15:12:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-29 15:12:21 -0700 |
| commit | a4f88c7d7c94107df6bfada31617ff553bb5e89e (patch) | |
| tree | cb0d3adbbe115604051300ae451a22a4de751b27 /externals/glad | |
| parent | 3df85a103a39c4d304da8734a862315a3e619a90 (diff) | |
| parent | 9a08160ae5bf62ef687999883461669dce8ef0cd (diff) | |
Merge pull request #2734 from yuriks/cmake-imported-libs
CMake: Use CMake target properties for all libraries
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 create_directory_groups(${SRCS} ${HEADERS}) add_library(glad STATIC ${SRCS} ${HEADERS}) target_include_directories(glad PUBLIC "include/") + if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") - target_link_libraries(glad dl) + target_link_libraries(glad PRIVATE dl) endif() |
