summaryrefslogtreecommitdiff
path: root/Modules/CMakeDetermineCXXCompiler.cmake
diff options
context:
space:
mode:
authorThomas Bernard <tbernard@go-engineering.de>2020-08-18 22:53:54 +0200
committerBrad King <brad.king@kitware.com>2020-08-18 17:23:54 -0400
commit10d7445dd8843d09250c09f607d206bc0305f27d (patch)
tree768210a665a8d7ce3ad15ef6d67b24ea8fae95a5 /Modules/CMakeDetermineCXXCompiler.cmake
parent31b057182e75130dc3fb77f0bf1fe0d0abb1a60c (diff)
downloadcmake-10d7445dd8843d09250c09f607d206bc0305f27d.tar.gz
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 4c2924a0a1..2205c8f82b 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.