diff options
| author | 2015-09-06 19:56:39 -0300 | |
|---|---|---|
| committer | 2015-09-06 19:56:39 -0300 | |
| commit | f5a49df679ef4d2e0aca2115fb5790d5259aa922 (patch) | |
| tree | f025bcffdc56eb503ad2a06c4e6229a0e070c0a3 | |
| parent | Merge pull request #1114 from archshift/conditioncode_al (diff) | |
| parent | CMake: Add missing library required by Linux for compiling glad (diff) | |
| download | yuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.tar.gz yuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.tar.xz yuzu-f5a49df679ef4d2e0aca2115fb5790d5259aa922.zip | |
Merge pull request #1117 from yuriks/fix-glad-build
CMake: Add missing library required by Linux for compiling 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() | ||