diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2017-04-26 18:34:23 (GMT) |
---|---|---|
committer | Christian Pfeiffer <cpfeiffer@live.de> | 2017-04-26 18:34:23 (GMT) |
commit | 28d83837978aefc7f6e467b41ff792817da9ec95 (patch) | |
tree | 954372b01e564e88737c2f370384ca987f3ff06a /Modules/FindHDF5.cmake | |
parent | 2a207aaca1d8414624dd4cfe8fcb19d03fe84546 (diff) | |
download | CMake-28d83837978aefc7f6e467b41ff792817da9ec95.zip CMake-28d83837978aefc7f6e467b41ff792817da9ec95.tar.gz CMake-28d83837978aefc7f6e467b41ff792817da9ec95.tar.bz2 |
separgs: Use NATIVE_COMMAND where appropriate
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r-- | Modules/FindHDF5.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 1e2ea69..5962c5b 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -354,11 +354,7 @@ macro( _HDF5_parse_compile_line libraries libraries_hl) - if(UNIX) - separate_arguments(_HDF5_COMPILE_ARGS UNIX_COMMAND "${${compile_line_var}}") - else() - separate_arguments(_HDF5_COMPILE_ARGS WINDOWS_COMMAND "${${compile_line_var}}") - endif() + separate_arguments(_HDF5_COMPILE_ARGS NATIVE_COMMAND "${${compile_line_var}}") foreach(arg IN LISTS _HDF5_COMPILE_ARGS) if("${arg}" MATCHES "^-I(.*)$") |