summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FeatureSummary/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorMichael Maltese <michaeljosephmaltese@gmail.com>2017-01-24 02:58:18 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-06 18:12:06 (GMT)
commit72ed051b12d983d298b9447d3464a38f5e0f918c (patch)
treef9eeb4ee2a05d9c9785d674cfe259cf0fd46f21f /Tests/RunCMake/FeatureSummary/RunCMakeTest.cmake
parent0f4dae0a4da92af5079eb730443ec188b3b46f8e (diff)
downloadCMake-72ed051b12d983d298b9447d3464a38f5e0f918c.zip
CMake-72ed051b12d983d298b9447d3464a38f5e0f918c.tar.gz
CMake-72ed051b12d983d298b9447d3464a38f5e0f918c.tar.bz2
CMakeDetermineCompilerId: check with and without user-specified flags
Clang may raise an error when passed a `-march=` option that doesn't correspond to the current target triple. CMake cannot pass the target triple when determining the compiler id because it doesn't know how yet, but it does pass along user-specified flags. This breaks when those user-specified flags include `-march=`. Fix this use case by also trying to find the compiler id without the user-specified flags. Fixes: #16587
Diffstat (limited to 'Tests/RunCMake/FeatureSummary/RunCMakeTest.cmake')
0 files changed, 0 insertions, 0 deletions