summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-28 04:46:26 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-28 05:48:00 +0200
commit089baa04e851676c1c04e640ef137b9025d6e5dc (patch)
tree52f33c4ab0f63189e05337df817ebc8a92e06c94 /externals
parentCMake: Use append instead of set to modify list (diff)
downloadyuzu-089baa04e851676c1c04e640ef137b9025d6e5dc.tar
yuzu-089baa04e851676c1c04e640ef137b9025d6e5dc.tar.gz
yuzu-089baa04e851676c1c04e640ef137b9025d6e5dc.tar.bz2
yuzu-089baa04e851676c1c04e640ef137b9025d6e5dc.tar.lz
yuzu-089baa04e851676c1c04e640ef137b9025d6e5dc.tar.xz
yuzu-089baa04e851676c1c04e640ef137b9025d6e5dc.tar.zst
yuzu-089baa04e851676c1c04e640ef137b9025d6e5dc.zip
Diffstat (limited to 'externals')
-rw-r--r--externals/glad/CMakeLists.txt3
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()