mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 14:01:05 +00:00
cmake: Add missing -ldl for glad.
Fixes compilation failure introduced in a1a5570e97
.
This commit is contained in:
parent
cc19a76656
commit
5cc541ea7c
4
externals/glad/CMakeLists.txt
vendored
4
externals/glad/CMakeLists.txt
vendored
@ -9,3 +9,7 @@ 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 (UNIX AND NOT APPLE)
|
||||||
|
target_link_libraries(glad dl)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user