Control: tags -1 patch

On Fri, 15 Aug 2014 23:50:38 +0200 Felix Geyer <fge...@debian.org> wrote:
> Hi,
> 
> I have prepared cmake 3.0 in experimental and would like to upload it to
> unstable soon.
> Unfortunately cmake looks for module only in a versioned path.
> This means all packages providing custom cmake modules need to put them into
> /usr/share/cmake-2.8/Modules as well as /usr/share/cmake-3.0/Modules.

Attached is an updated version of 01_install_FindEigen3.patch that installs 
FindEigen3.cmake to
the cmake 2.8 and 3.0 paths.
Please consider applying the patch as the packages avogadro and step depend on 
this cmake module.

Thanks,
Felix
Description: install FindEigen3.cmake into usr/share/cmake-2.8/Modules
Author: Anton Gladky <gl...@debian.org>
Last-Update: 2014-08-23

Index: eigen-eigen-1306d75b4a21/CMakeLists.txt
===================================================================
--- eigen-eigen-1306d75b4a21.orig/CMakeLists.txt
+++ eigen-eigen-1306d75b4a21/CMakeLists.txt
@@ -323,6 +323,16 @@ install(FILES
   DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
   )
 
+install(FILES
+  cmake/FindEigen3.cmake
+  DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake-2.8/Modules
+  )
+
+install(FILES
+  cmake/FindEigen3.cmake
+  DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake-3.0/Modules
+  )
+
 if(EIGEN_BUILD_PKGCONFIG)
     SET(path_separator ":")
     STRING(REPLACE ${path_separator} ";" pkg_config_libdir_search "$ENV{PKG_CONFIG_LIBDIR}")
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to