vcpkg/ports/libtcod/stb-headers.patch

12 lines
456 B
Diff
Raw Normal View History

--- 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}'")