Add patch fixing compilation of examples with the installed find module.

parent 8d528ba7
From: Ghislain Antony Vaillant <ghisvail@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)
Disable-HTML-timestamps.patch Disable-HTML-timestamps.patch
Explicit-64-bit-shifts-for-flags.patch Explicit-64-bit-shifts-for-flags.patch
Use-explicit-64-bit-shifts-in-testsuite.patch Use-explicit-64-bit-shifts-in-testsuite.patch
Use-Debian-CMake-find-module-location.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment