aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gherkin-c/fix-include-path.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/gherkin-c/fix-include-path.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/gherkin-c/fix-include-path.patch')
-rw-r--r--vcpkg/ports/gherkin-c/fix-include-path.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/gherkin-c/fix-include-path.patch b/vcpkg/ports/gherkin-c/fix-include-path.patch
new file mode 100644
index 0000000..ddaf80d
--- /dev/null
+++ b/vcpkg/ports/gherkin-c/fix-include-path.patch
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 74b9ffb..6af4645 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -60,7 +60,7 @@ LIST(APPEND GHERKIN_SRS
+ )
+
+ add_library(gherkin ${GHERKIN_SRS})
+-target_include_directories(gherkin PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include;${CMAKE_CURRENT_SOURCE_DIR}/src>")
++target_include_directories(gherkin PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include;${CMAKE_CURRENT_SOURCE_DIR}/src>" "$<INSTALL_INTERFACE:include/gherkin-c>")
+
+ if (BUILD_GHERKIN_TESTS)
+ LIST(APPEND GENERATE_TOKEN
+@@ -96,7 +96,7 @@ if (BUILD_GHERKIN_TESTS)
+ ENDFOREACH()
+ endif()
+
+-set(include_install_dir "include")
++set(include_install_dir "include/gherkin-c")
+ set(lib_install_dir "lib/")
+ set(bin_install_dir "bin/")
+ set(config_install_dir "lib/cmake/")