[ismrmrd] 33/177: Added compiler flag to force HDF5 macros to use the HDF1.8 API.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:01:59 UTC 2015


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

ghisvail-guest pushed a commit to annotated tag v1.1.0.beta.1
in repository ismrmrd.

commit 270ca7760b223fa87438c7470e0b9dc7875f3e27
Author: Souheil Inati <souheil.inati at nih.gov>
Date:   Fri Aug 29 13:52:26 2014 -0400

    Added compiler flag to force HDF5 macros to use the HDF1.8 API.
---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 18f75f8..7f8892a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,6 +32,9 @@ endif (WIN32)
 # required packages for main library
 find_package(HDF5 1.8 COMPONENTS C HL REQUIRED)
 
+# use only the HDF5 1.8 API (H5Gcreate2)
+add_definitions(-DH5_NO_DEPRECATED_SYMBOLS)
+
 include_directories(
     ${CMAKE_CURRENT_SOURCE_DIR}
     ${CMAKE_CURRENT_SOURCE_DIR}/xml 

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



More information about the debian-science-commits mailing list