I just noticed this in CMakeDetermineCCompiler.cmake

IF(NOT CMAKE_C_COMPILER)
  SET(CMAKE_CXX_COMPILER_INIT NOTFOUND)
(notice the CXX part above?)

whereas CMakeDetermineCXXCompiler.cmake has

IF(NOT CMAKE_CXX_COMPILER)
  SET(CMAKE_CXX_COMPILER_INIT NOTFOUND)

And CMakeDetermineFortranCompiler.cmake doesn't clear 
  CMAKE_Fortran_COMPILER_INIT but uses it.


The was noticed when trying to specify preferred compilers with the *_INIT 
variables and the CMAKE_CXX_COMPILER_INIT didn't work and C and Fortran did.

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
_______________________________________________
cmake-developers mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to