vcpkg/ports/sfml/stb_include.patch
friendlyanon 8652ccf0ee
[stb] Update to 2021-09-10 (#24718)
* [stb] Update to 2021-09-10

* Update stb's dependees

* Add license fields to sfml and libtcod

* Fix broken patch for libtcod

* Use `version-date` instead of `version`

Co-authored-by: friendlyanon <friendlyanon@users.noreply.github.com>
2022-05-16 12:41:17 -07:00

13 lines
338 B
Diff

--- 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