diff options
author | Brad King <brad.king@kitware.com> | 2012-06-20 19:38:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-06-20 19:38:53 (GMT) |
commit | b9ccaf5f7977b7444a50a7b1dbb1902422f7ab27 (patch) | |
tree | 59daea215659b6bf7c13052863617c69f0978c31 /Modules/CMakeDetermineCCompiler.cmake | |
parent | 30305b989e944d0b5bdff16ba408d636a8c81e91 (diff) | |
download | CMake-b9ccaf5f7977b7444a50a7b1dbb1902422f7ab27.zip CMake-b9ccaf5f7977b7444a50a7b1dbb1902422f7ab27.tar.gz CMake-b9ccaf5f7977b7444a50a7b1dbb1902422f7ab27.tar.bz2 |
CMakeDetermineCCompiler: Fix typo "_CXX_" -> "_C_" (#13330)
Initialize CMAKE_C_COMPILER_INIT before using it, rather than
CMAKE_CXX_COMPILER_INIT.
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCCompiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake index 53f558e..9028e8e 100644 --- a/Modules/CMakeDetermineCCompiler.cmake +++ b/Modules/CMakeDetermineCCompiler.cmake @@ -32,7 +32,7 @@ # _CMAKE_TOOLCHAIN_PREFIX IF(NOT CMAKE_C_COMPILER) - SET(CMAKE_CXX_COMPILER_INIT NOTFOUND) + SET(CMAKE_C_COMPILER_INIT NOTFOUND) # prefer the environment variable CC IF($ENV{CC} MATCHES ".+") |