Duckstation/dep/stb/CMakeLists.txt

14 lines
438 B
CMake
Raw Normal View History

2019-10-15 08:02:48 +00:00
set(SRCS
2020-06-07 15:47:07 +00:00
include/stb_image.h
2020-03-15 14:03:06 +00:00
include/stb_image_resize.h
include/stb_image_write.h
2020-06-07 15:47:07 +00:00
src/stb_image.c
2020-03-15 14:03:06 +00:00
src/stb_image_resize.c
src/stb_image_write.c
2019-10-15 08:02:48 +00:00
)
add_library(stb ${SRCS})
target_include_directories(stb PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_include_directories(stb INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_link_libraries(stb Threads::Threads "${CMAKE_DL_LIBS}")