summaryrefslogtreecommitdiffstats
path: root/externals/glad/CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-07 00:34:15 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-07 00:45:46 +0200
commitd8311e836595e9370acdf5acc364f98994c49660 (patch)
tree453d4220db892671b6d9517ec1b710cb5e37c374 /externals/glad/CMakeLists.txt
parentMerge pull request #1087 from yuriks/opengl-glad (diff)
downloadyuzu-d8311e836595e9370acdf5acc364f98994c49660.tar
yuzu-d8311e836595e9370acdf5acc364f98994c49660.tar.gz
yuzu-d8311e836595e9370acdf5acc364f98994c49660.tar.bz2
yuzu-d8311e836595e9370acdf5acc364f98994c49660.tar.lz
yuzu-d8311e836595e9370acdf5acc364f98994c49660.tar.xz
yuzu-d8311e836595e9370acdf5acc364f98994c49660.tar.zst
yuzu-d8311e836595e9370acdf5acc364f98994c49660.zip
Diffstat (limited to 'externals/glad/CMakeLists.txt')
-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()