pineapple/externals/vcpkg/ports/sfml/stb_include.patch

13 lines
338 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -188,6 +188,9 @@ if(SFML_USE_SYSTEM_DEPS)
endforeach()
list(REMOVE_DUPLICATES CMAKE_IGNORE_PATH)
+
+ find_path(STB_INCLUDE_DIR stb_image.h)
+ include_directories("${STB_INCLUDE_DIR}")
endif()
# Visual C++: remove warnings regarding SL security and algorithms on pointers