10 lines
268 B
CMake
10 lines
268 B
CMake
|
# Defines the `STB_INCLUDE_DIR` variable and `stb-image` target.
|
||
|
|
||
|
# STB Image library dependency (header-only).
|
||
|
set(STB_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR} PARENT_SCOPE)
|
||
|
add_library(stb-image INTERFACE)
|
||
|
target_sources(stb-image
|
||
|
INTERFACE
|
||
|
stb_image_write.h
|
||
|
)
|