Duckstation/dep/stb/CMakeLists.txt
Connor McLaughlin e68cddf017 Fix CMake build
2019-10-15 18:02:48 +10:00

9 lines
318 B
CMake

set(SRCS
src/stb_image_write.c
)
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}")