[med-svn] [ismrmrd] 03/06: Add patch fixing compilation of examples with the installed find module.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Mar 5 17:25:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository ismrmrd.

commit 1d0dc272f32312cdab695b7eee63777d3d30b22e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat Mar 5 16:20:31 2016 +0000

    Add patch fixing compilation of examples with the installed find module.
---
 .../Use-Debian-CMake-find-module-location.patch     | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/Use-Debian-CMake-find-module-location.patch b/debian/patches/Use-Debian-CMake-find-module-location.patch
new file mode 100644
index 0000000..9644312
--- /dev/null
+++ b/debian/patches/Use-Debian-CMake-find-module-location.patch
@@ -0,0 +1,21 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Sat, 5 Mar 2016 16:18:09 +0000
+Subject: Use Debian CMake find module location.
+
+---
+ examples/c/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/examples/c/CMakeLists.txt b/examples/c/CMakeLists.txt
+index 8988f17..3601f8f 100644
+--- a/examples/c/CMakeLists.txt
++++ b/examples/c/CMakeLists.txt
+@@ -7,7 +7,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
+         message(FATAL_ERROR "ISMRMRD_HOME environment variable must be defined")
+     endif(NOT DEFINED ENV{ISMRMRD_HOME})
+ 
+-    list(APPEND CMAKE_MODULE_PATH "$ENV{ISMRMRD_HOME}/share/ismrmrd/cmake")
++    list(APPEND CMAKE_MODULE_PATH "$ENV{ISMRMRD_HOME}/lib/cmake/ismrmrd")
+ 
+     find_package(Ismrmrd REQUIRED)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 6d66102..5873966 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 Disable-HTML-timestamps.patch
 Explicit-64-bit-shifts-for-flags.patch
 Use-explicit-64-bit-shifts-in-testsuite.patch
+Use-Debian-CMake-find-module-location.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ismrmrd.git



More information about the debian-med-commit mailing list