diff options
| author | 2015-09-06 19:34:15 -0300 | |
|---|---|---|
| committer | 2015-09-06 19:45:46 -0300 | |
| commit | d8311e836595e9370acdf5acc364f98994c49660 (patch) | |
| tree | 453d4220db892671b6d9517ec1b710cb5e37c374 /externals/glad | |
| parent | Merge pull request #1087 from yuriks/opengl-glad (diff) | |
| download | yuzu-d8311e836595e9370acdf5acc364f98994c49660.tar.gz yuzu-d8311e836595e9370acdf5acc364f98994c49660.tar.xz yuzu-d8311e836595e9370acdf5acc364f98994c49660.zip | |
CMake: Add missing library required by Linux for compiling glad
Diffstat (limited to 'externals/glad')
| -rw-r--r-- | externals/glad/CMakeLists.txt | 3 |
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 | |||
| 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 | if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") | ||
| 13 | target_link_libraries(glad dl) | ||
| 14 | endif() | ||