vcpkg/ports/armadillo/cmake-config.patch
Kai Pastor 0a277597a1
[armadillo,ensmallen] Update (#28599)
* [armadillo] Update to 11.4.3

* Fixup pkgconfig

* Add vcpkg cmake wrapper

* Update versions

* [ensmallen] Update and fix

* Add vcpkg version requirement
2023-01-04 14:27:58 -08:00

14 lines
686 B
Diff

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)