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
This commit is contained in:
Thomas Bernard
2020-08-18 22:53:54 +02:00
committed by Brad King
parent 31b057182e
commit 10d7445dd8
+1 -1
View File
@@ -84,7 +84,7 @@ else()
endif() endif()
if(CMAKE_CXX_COMPILER_TARGET) 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() endif()
# Build a small source file to identify the compiler. # Build a small source file to identify the compiler.