On 02/18/2011 02:17 PM, Clinton Stimpson wrote: > > 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.
Wow, that's been there a while: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=35fb6f22 Go ahead and fix it. Thanks, -Brad _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
