summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCXXCompiler.cmake
diff options
context:
space:
mode:
authorThomas Bernard <tbernard@go-engineering.de>2020-08-18 20:53:54 (GMT)
committerBrad King <brad.king@kitware.com>2020-08-18 21:23:54 (GMT)
commit10d7445dd8843d09250c09f607d206bc0305f27d (patch)
tree768210a665a8d7ce3ad15ef6d67b24ea8fae95a5 /Modules/CMakeDetermineCXXCompiler.cmake
parent31b057182e75130dc3fb77f0bf1fe0d0abb1a60c (diff)
downloadCMake-10d7445dd8843d09250c09f607d206bc0305f27d.zip
CMake-10d7445dd8843d09250c09f607d206bc0305f27d.tar.gz
CMake-10d7445dd8843d09250c09f607d206bc0305f27d.tar.bz2
clang: Fix the typo for CMAKE_CXX_COMPILER_ID_TEST_FLAGS
Fix typo from commit 270e0d9c4d (Detect the correct target architecture for clang compilers., 2020-07-28). Issue: #21097
Diffstat (limited to 'Modules/CMakeDetermineCXXCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCXXCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake
index 4c2924a..2205c8f 100644
--- a/Modules/CMakeDetermineCXXCompiler.cmake
+++ b/Modules/CMakeDetermineCXXCompiler.cmake
@@ -84,7 +84,7 @@ else()
endif()
if(CMAKE_CXX_COMPILER_TARGET)
- list(PREPEND CMAKE_CXX_COPMILER_ID_TEST_FLAGS "-c --target=${CMAKE_CXX_COMPILER_TARGET}")
+ list(PREPEND CMAKE_CXX_COMPILER_ID_TEST_FLAGS "-c --target=${CMAKE_CXX_COMPILER_TARGET}")
endif()
# Build a small source file to identify the compiler.