vcpkg/ports/libtcod/stb-headers.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

12 lines
456 B
Diff

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -91,7 +91,7 @@
message("Will be vendored: stb")
target_include_directories(${PROJECT_NAME} PRIVATE "vendor/")
elseif(LIBTCOD_STB STREQUAL "vcpkg")
- find_path(STB_INCLUDE_DIRS "stb.h")
+ find_path(STB_INCLUDE_DIRS stb_ds.h)
target_include_directories(${PROJECT_NAME} PRIVATE ${STB_INCLUDE_DIRS})
else()
message(FATAL_ERROR "Unknown option for LIBTCOD_STB: '${LIBTCOD_STB}'")