aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/rttr/Fix-depends.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/rttr/Fix-depends.patch')
-rw-r--r--vcpkg/ports/rttr/Fix-depends.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/rttr/Fix-depends.patch b/vcpkg/ports/rttr/Fix-depends.patch
new file mode 100644
index 0000000..8357a47
--- /dev/null
+++ b/vcpkg/ports/rttr/Fix-depends.patch
@@ -0,0 +1,14 @@
+diff --git a/CMake/3rd_party_libs.cmake b/CMake/3rd_party_libs.cmake
+index dca5071..4dd4471 100644
+--- a/CMake/3rd_party_libs.cmake
++++ b/CMake/3rd_party_libs.cmake
+@@ -51,7 +51,8 @@ if (BUILD_BENCHMARKS)
+ find_package(Threads REQUIRED)
+ endif()
+
+-set(RAPID_JSON_DIR ${RTTR_3RD_PARTY_DIR}/rapidjson-1.1.0)
++find_package(RapidJSON CONFIG REQUIRED)
++set(RAPID_JSON_DIR ${RAPIDJSON_INCLUDE_DIRS})
+ set(NONIUS_DIR ${RTTR_3RD_PARTY_DIR}/nonius-1.1.2)
+
+ # Prepare "Catch" library for other executables