2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #1117 from yuriks/fix-glad-build

CMake: Add missing library required by Linux for compiling glad
This commit is contained in:
Yuri Kunde Schlesner 2015-09-06 19:56:39 -03:00
commit f5a49df679

View file

@ -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()