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/CMakeParseImplicitLinkInfo.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/CMakeParseImplicitLinkInfo.cmake')
-rw-r--r-- | Modules/CMakeParseImplicitLinkInfo.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/CMakeParseImplicitLinkInfo.cmake b/Modules/CMakeParseImplicitLinkInfo.cmake index 3273443..ad3c00f 100644 --- a/Modules/CMakeParseImplicitLinkInfo.cmake +++ b/Modules/CMakeParseImplicitLinkInfo.cmake @@ -38,11 +38,7 @@ function(CMAKE_PARSE_IMPLICIT_LINK_INFO text lib_var dir_var fwk_var log_var obj set(line "${xline}") endif() endif() - if(UNIX) - separate_arguments(args UNIX_COMMAND "${line}") - else() - separate_arguments(args WINDOWS_COMMAND "${line}") - endif() + separate_arguments(args NATIVE_COMMAND "${line}") list(GET args 0 cmd) endif() set(is_msvc 0) |