Merge branch 'fix-findhdf5-definitions' into release

This commit is contained in:
Brad King 2016-08-02 10:54:03 -04:00
commit 88f4b4c9e0
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ macro( _HDF5_parse_compile_line
set( RE " -D([^ ]*)")
string( REGEX MATCHALL "${RE}" definition_flags "${${compile_line_var}}" )
foreach( DEF IN LISTS definition_flags )
string( REGEX REPLACE "${RE}" "\\1" DEF "${DEF}" )
string( STRIP "${DEF}" DEF )
list( APPEND ${definitions} ${DEF} )
endforeach()