CMake: Add missing library required by Linux for compiling glad

pull/8/head
Yuri Kunde Schlesner 9 years ago
parent cc19a76656
commit d8311e8365

@ -9,3 +9,6 @@ set(HEADERS
create_directory_groups(${SRCS} ${HEADERS})
add_library(glad STATIC ${SRCS} ${HEADERS})
target_include_directories(glad PUBLIC "include/")
if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
target_link_libraries(glad dl)
endif()

Loading…
Cancel
Save