summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorJohan Stridkvist <battletwixx@gmail.com>2019-05-13 13:05:47 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-14 18:59:55 (GMT)
commit7b0abaac318b080d9d9044a2665541b840087c89 (patch)
tree622d5a7af0c1e75647d8846524d0fc93ed34c1b3 /Modules/CMakeDetermineCompilerId.cmake
parenta8f1527ba46b31c5583999391c05421eb86f4973 (diff)
downloadCMake-7b0abaac318b080d9d9044a2665541b840087c89.zip
CMake-7b0abaac318b080d9d9044a2665541b840087c89.tar.gz
CMake-7b0abaac318b080d9d9044a2665541b840087c89.tar.bz2
ARMClang: Add support for Clang-based ARM compiler
Fixes: #18215
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index 746a806..1cd919a 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -28,6 +28,7 @@ function(CMAKE_DETERMINE_COMPILER_ID lang flagvar src)
foreach(testflags ${CMAKE_${lang}_COMPILER_ID_TEST_FLAGS_FIRST}
""
${CMAKE_${lang}_COMPILER_ID_TEST_FLAGS})
+ separate_arguments(testflags UNIX_COMMAND "${testflags}")
CMAKE_DETERMINE_COMPILER_ID_BUILD("${lang}" "${testflags}" "${userflags}" "${src}")
CMAKE_DETERMINE_COMPILER_ID_MATCH_VENDOR("${lang}" "${COMPILER_${lang}_PRODUCED_OUTPUT}")
if(CMAKE_${lang}_COMPILER_ID)