eigen3/01_install_FindEigen3.patch
Dirk Stoecker 534ab5c97e Accepting request 913225 from home:badshah400:branches:science
* Update to version 3.4.0
* Drop patches incorporated or otherwise fixed upstream: * eigen3-CastXML-support-for-aarch64.patch.  * eigen3-make-sparseqr-unit-test-stable.patch.  * eigen3-failtests-handling.patch.
* Rebase following patches for updated sources: * 0001-Disable-Altivec-for-ppc64le.patch.  * 0001-Do-stack-allignment-on-ppc.patch.
* Minor line offset adjustments of other patches to apply cleanly.

OBS-URL: https://build.opensuse.org/request/show/913225
OBS-URL: https://build.opensuse.org/package/show/science/eigen3?expand=0&rev=39
2021-08-22 19:38:49 +00:00

17 lines
506 B
Diff

Index: eigen-3.4.0/CMakeLists.txt
===================================================================
--- eigen-3.4.0.orig/CMakeLists.txt
+++ eigen-3.4.0/CMakeLists.txt
@@ -466,6 +466,11 @@ install(FILES
DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
)
+install(FILES
+ cmake/FindEigen3.cmake
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules
+ )
+
if(EIGEN_BUILD_PKGCONFIG)
configure_file(eigen3.pc.in eigen3.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eigen3.pc