aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/armadillo/cmake-config.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/armadillo/cmake-config.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/armadillo/cmake-config.patch')
-rw-r--r--vcpkg/ports/armadillo/cmake-config.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/armadillo/cmake-config.patch b/vcpkg/ports/armadillo/cmake-config.patch
new file mode 100644
index 0000000..d0bb5a9
--- /dev/null
+++ b/vcpkg/ports/armadillo/cmake-config.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake_aux/InstallFiles/ArmadilloConfig.cmake.in b/cmake_aux/InstallFiles/ArmadilloConfig.cmake.in
+index bfe74ac..9caf2c8 100644
+--- a/cmake_aux/InstallFiles/ArmadilloConfig.cmake.in
++++ b/cmake_aux/InstallFiles/ArmadilloConfig.cmake.in
+@@ -9,7 +9,7 @@ set(ARMADILLO_INCLUDE_DIRS "@ARMADILLO_INCLUDE_DIRS@")
+ set(ARMADILLO_LIBRARY_DIRS "@ARMADILLO_LIB_DIR@")
+
+ # Our library dependencies (contains definitions for IMPORTED targets)
+-include("@ARMADILLO_CMAKE_DIR@/ArmadilloLibraryDepends.cmake")
++include("${CMAKE_CURRENT_LIST_DIR}/ArmadilloLibraryDepends.cmake")
+
+ # These are IMPORTED targets created by ArmadilloLibraryDepends.cmake
+ set(ARMADILLO_LIBRARIES armadillo)