aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ryml/cmake-fix.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/ryml/cmake-fix.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/ryml/cmake-fix.patch')
-rw-r--r--vcpkg/ports/ryml/cmake-fix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/vcpkg/ports/ryml/cmake-fix.patch b/vcpkg/ports/ryml/cmake-fix.patch
new file mode 100644
index 0000000..ae14fc2
--- /dev/null
+++ b/vcpkg/ports/ryml/cmake-fix.patch
@@ -0,0 +1,29 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d80b395..8f1699e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -27,10 +27,7 @@ option(RYML_INSTALL "Enable install target" ON)
+
+ #-------------------------------------------------------
+
+-c4_require_subproject(c4core INCORPORATE
+- SUBDIRECTORY ${RYML_EXT_DIR}/c4core
+- OVERRIDE C4CORE_INSTALL ${RYML_INSTALL}
+-)
++find_package(c4core CONFIG REQUIRED)
+
+ c4_add_library(ryml
+ SOURCES
+@@ -77,10 +74,10 @@ c4_add_library(ryml
+ ryml.natvis
+ SOURCE_ROOT ${RYML_SRC_DIR}
+ INC_DIRS
++ $<BUILD_INTERFACE:${C4CORE_INCLUDE_DIR}>
+ $<BUILD_INTERFACE:${RYML_SRC_DIR}>
+ $<INSTALL_INTERFACE:include>
+- LIBS c4core
+- INCORPORATE c4core
++ LIBS c4core::c4core
+ )
+
+ if(RYML_WITH_TAB_TOKENS)