mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-22 15:54:30 +00:00
CMake: Add missing library required by Linux for compiling glad
This commit is contained in:
parent
cc19a76656
commit
d8311e8365
1 changed files with 3 additions and 0 deletions
3
externals/glad/CMakeLists.txt
vendored
3
externals/glad/CMakeLists.txt
vendored
|
@ -9,3 +9,6 @@ set(HEADERS
|
||||||
create_directory_groups(${SRCS} ${HEADERS})
|
create_directory_groups(${SRCS} ${HEADERS})
|
||||||
add_library(glad STATIC ${SRCS} ${HEADERS})
|
add_library(glad STATIC ${SRCS} ${HEADERS})
|
||||||
target_include_directories(glad PUBLIC "include/")
|
target_include_directories(glad PUBLIC "include/")
|
||||||
|
if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||||
|
target_link_libraries(glad dl)
|
||||||
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue