summaryrefslogtreecommitdiffstats
path: root/deps/stb/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'deps/stb/CMakeLists.txt')
-rw-r--r--deps/stb/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/deps/stb/CMakeLists.txt b/deps/stb/CMakeLists.txt
new file mode 100644
index 0000000..0fa97be
--- /dev/null
+++ b/deps/stb/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_library(stb STATIC
+ "${CMAKE_CURRENT_LIST_DIR}/include/stb_image.h"
+ "${CMAKE_CURRENT_LIST_DIR}/include/stb_image_write.h"
+ "${CMAKE_CURRENT_LIST_DIR}/src/stb_impl.c")
+target_compile_definitions(stb PRIVATE _CRT_SECURE_NO_WARNINGS)
+target_include_directories(stb PUBLIC "${CMAKE_CURRENT_LIST_DIR}/include")
+set_target_properties(stb PROPERTIES FOLDER Dependencies)