diff options
author | Brad King <brad.king@kitware.com> | 2017-03-06 17:58:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-06 17:58:43 (GMT) |
commit | c1ba262a978be2f033d72434b0106a771755660f (patch) | |
tree | 5721c6e0453a38189869ffc805f925488462e88c | |
parent | e1adec32b8325fb731da084e99acd6070f5e39bf (diff) | |
parent | ea2a8dd268a31ad2562d23f41df90f134811d52c (diff) | |
download | CMake-c1ba262a978be2f033d72434b0106a771755660f.zip CMake-c1ba262a978be2f033d72434b0106a771755660f.tar.gz CMake-c1ba262a978be2f033d72434b0106a771755660f.tar.bz2 |
Merge branch 'FindHDF5-fix-definitions' into release
-rw-r--r-- | Modules/FindHDF5.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 65a825d..36cd335 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -352,7 +352,7 @@ macro( _HDF5_parse_compile_line list(APPEND ${include_paths} "${CMAKE_MATCH_1}") elseif("${arg}" MATCHES "^-D(.*)$") # compile definition - list(APPEND ${definitions} "${CMAKE_MATCH_1}") + list(APPEND ${definitions} "-D${CMAKE_MATCH_1}") elseif("${arg}" MATCHES "^-L(.*)$") # library search path list(APPEND ${library_paths} "${CMAKE_MATCH_1}") |