diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2014-12-09 19:55:25 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2014-12-09 19:55:25 (GMT) |
commit | ff31c2bc0f24cba9bd130c144e33dfb6ac1cf773 (patch) | |
tree | 2416abb99028dd35fdd3a016527e896341a9917e | |
parent | 66c863dbd3bb3fdf89a41f39d2e19a51be237621 (diff) | |
download | hdf5-ff31c2bc0f24cba9bd130c144e33dfb6ac1cf773.zip hdf5-ff31c2bc0f24cba9bd130c144e33dfb6ac1cf773.tar.gz hdf5-ff31c2bc0f24cba9bd130c144e33dfb6ac1cf773.tar.bz2 |
[svn-r25869] HDFFV-9041: Definitions needed to be a semi-colon separated list.
-rw-r--r-- | release_docs/RELEASE.txt | 8 | ||||
-rw-r--r-- | src/CMakeLists.txt | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 2037335..91ea119 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -116,7 +116,13 @@ Bug Fixes since HDF5-1.8.14 Library ------- - - None + - Incorrect usage of list in CMake COMPILE_DEFINITIONS set_property + + The CMake command, set_property with COMPILE_DEFINITIONS property + needs a quoted semi-colon separated list of values. CMake will + transform the list to a series of -D{value} for the compile. + + (ADB - 2014/12/09, HDFV-9041) Parallel Library ---------------- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d353bcc..3dafa18 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -710,10 +710,7 @@ option (HDF5_ENABLE_DEBUG_APIS "Turn on debugging in all packages" OFF) if (HDF5_ENABLE_DEBUG_APIS) set_target_properties (${HDF5_LIB_TARGET} PROPERTIES COMPILE_DEFINITIONS - "-DH5Z_DEBUG -DH5VM_DEBUG -DH5T_DEBUG - -DH5S_DEBUG -DH5P_DEBUG -DH5O_DEBUG -DH5MM_DEBUG -DH5MF_DEBUG - -DH5I_DEBUG -DH5HL_DEBUG -DH5HG_DEBUG -DH5G_DEBUG -DH5F_DEBUG - -DH5E_DEBUG -DH5D_DEBUG -DH5B_DEBUG -DH5AC_DEBUG -UNDEBUG" + "H5Z_DEBUG;H5VM_DEBUG;H5T_DEBUG;H5S_DEBUG;H5P_DEBUG;H5O_DEBUG;H5MM_DEBUG;H5MF_DEBUG;H5I_DEBUG;H5HL_DEBUG;H5HG_DEBUG;H5G_DEBUG;H5F_DEBUG;H5E_DEBUG;H5D_DEBUG;H5B_DEBUG;H5AC_DEBUG" ) endif (HDF5_ENABLE_DEBUG_APIS) |