summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-07 00:56:39 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-07 00:56:39 +0200
commitf5a49df679ef4d2e0aca2115fb5790d5259aa922 (patch)
treef025bcffdc56eb503ad2a06c4e6229a0e070c0a3
parentMerge pull request #1114 from archshift/conditioncode_al (diff)
parentCMake: Add missing library required by Linux for compiling glad (diff)
downloadyuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.tar
yuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.tar.gz
yuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.tar.bz2
yuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.tar.lz
yuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.tar.xz
yuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.tar.zst
yuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.zip
-rw-r--r--externals/glad/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/externals/glad/CMakeLists.txt b/externals/glad/CMakeLists.txt
index ebc5db1f2..a97d4aa73 100644
--- a/externals/glad/CMakeLists.txt
+++ b/externals/glad/CMakeLists.txt
@@ -9,3 +9,6 @@ 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)
+endif()