Duckstation/dep/glad/CMakeLists.txt

9 lines
277 B
CMake
Raw Normal View History

2019-09-09 07:01:26 +00:00
set(SRCS
src/glad.c
)
add_library(glad ${SRCS})
target_include_directories(glad PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_include_directories(glad INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_link_libraries(glad Threads::Threads "${CMAKE_DL_LIBS}")