CMakeDetermineCCompiler: Fix typo "_CXX_" -> "_C_" (#13330)

Initialize CMAKE_C_COMPILER_INIT before using it, rather than
CMAKE_CXX_COMPILER_INIT.
This commit is contained in:
Brad King 2012-06-20 15:38:53 -04:00
parent 30305b989e
commit b9ccaf5f79
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
# _CMAKE_TOOLCHAIN_PREFIX # _CMAKE_TOOLCHAIN_PREFIX
IF(NOT CMAKE_C_COMPILER) IF(NOT CMAKE_C_COMPILER)
SET(CMAKE_CXX_COMPILER_INIT NOTFOUND) SET(CMAKE_C_COMPILER_INIT NOTFOUND)
# prefer the environment variable CC # prefer the environment variable CC
IF($ENV{CC} MATCHES ".+") IF($ENV{CC} MATCHES ".+")