aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/zlmediakit/fix-dependency.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/zlmediakit/fix-dependency.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/zlmediakit/fix-dependency.patch')
-rw-r--r--vcpkg/ports/zlmediakit/fix-dependency.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/zlmediakit/fix-dependency.patch b/vcpkg/ports/zlmediakit/fix-dependency.patch
new file mode 100644
index 0000000..32e2338
--- /dev/null
+++ b/vcpkg/ports/zlmediakit/fix-dependency.patch
@@ -0,0 +1,42 @@
+Index: 3rdpart/CMakeLists.txt
+IDEA additional info:
+Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
+<+>UTF-8
+===================================================================
+diff --git a/3rdpart/CMakeLists.txt b/3rdpart/CMakeLists.txt
+--- a/3rdpart/CMakeLists.txt (revision af3ef996b0ae265e000344e7faf753577f9abf4e)
++++ b/3rdpart/CMakeLists.txt (date 1711782947005)
+@@ -24,6 +24,7 @@
+ ##############################################################################
+
+ # jsoncpp
++if (0)
+ file(GLOB JSONCPP_SRC_LIST
+ ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp/include/json/*.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp/src/lib_json/*.cpp
+@@ -38,7 +39,8 @@
+ PUBLIC
+ "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/jsoncpp/include")
+
+-update_cached_list(MK_LINK_LIBRARIES jsoncpp)
++endif()
++update_cached_list(MK_LINK_LIBRARIES JsonCpp::JsonCpp)
+
+ ##############################################################################
+
+Index: CMakeLists.txt
+IDEA additional info:
+Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
+<+>UTF-8
+===================================================================
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt (revision af3ef996b0ae265e000344e7faf753577f9abf4e)
++++ b/CMakeLists.txt (date 1711782947012)
+@@ -479,6 +479,7 @@
+ # for assert.h
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/3rdpart)
+
++find_package(jsoncpp CONFIG REQUIRED)
+ add_subdirectory(3rdpart)
+
+ add_subdirectory(src)