Package: ismrmrd / 1.4.0-1

Fix-HDF5-detection-with-CMake-3.6.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Ghislain Antony Vaillant <[email protected]>
Date: Thu, 1 Sep 2016 18:28:21  0100
Subject: Fix HDF5 detection with CMake 3.6.

---
 CMakeLists.txt | 4   --
 1 file changed, 2 insertions( ), 2 deletions(-)

--- a/CMakeLists.txt
    b/CMakeLists.txt
@@ -148,7  148,7 @@ if (HDF5_FOUND AND WIN32 AND ISMRMRD_INS
     if(DEFINED ENV{HDF5_ROOT})
         set(HDF5_BIN_DIR $ENV{HDF5_ROOT}/bin)
     else ()
-        set(HDF5_BIN_DIR ${HDF5_C_INCLUDE_DIR}/../bin)
         set(HDF5_BIN_DIR ${HDF5_INCLUDE_DIRS}/../bin)
     endif ()
     message("Install hdf5 libraries from ${HDF5_BIN_DIR} ")
     install( DIRECTORY ${HDF5_BIN_DIR} DESTINATION bin/.. FILES_MATCHING PATTERN "*.dll" )