aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/lief/fix-liefconfig-cmake-in.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/lief/fix-liefconfig-cmake-in.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/lief/fix-liefconfig-cmake-in.patch')
-rw-r--r--vcpkg/ports/lief/fix-liefconfig-cmake-in.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/lief/fix-liefconfig-cmake-in.patch b/vcpkg/ports/lief/fix-liefconfig-cmake-in.patch
new file mode 100644
index 0000000..b600ce4
--- /dev/null
+++ b/vcpkg/ports/lief/fix-liefconfig-cmake-in.patch
@@ -0,0 +1,22 @@
+diff --git a/cmake/LIEFConfig.cmake.in b/cmake/LIEFConfig.cmake.in
+index 562fda16..220208c7 100644
+--- a/cmake/LIEFConfig.cmake.in
++++ b/cmake/LIEFConfig.cmake.in
+@@ -76,7 +76,7 @@ macro(LIEF_load_targets lib_type)
+ return()
+ endif ()
+
+- if("${lib_type}" STREQUAL "static")
++ if(1)
+ # Need to find all dependencies even if they're private when LIEF is
+ # compiled statically
+ include(CMakeFindDependencyMacro)
+@@ -105,6 +105,8 @@ macro(LIEF_load_targets lib_type)
+ find_dependency(tl-expected)
+ endif()
+
++ find_dependency(fmt)
++ check_required_components(lief)
+ endif()
+
+ # Include the respective targets file