[Cmake-commits] [cmake-commits] hoffman committed cmEnableLanguageCommand.cxx 1.6 1.7

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Oct 14 13:56:52 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26927

Modified Files:
	cmEnableLanguageCommand.cxx 
Log Message:
ENH: revert last change, as it fails tests


Index: cmEnableLanguageCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmEnableLanguageCommand.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** cmEnableLanguageCommand.cxx	14 Oct 2008 15:43:35 -0000	1.6
--- cmEnableLanguageCommand.cxx	14 Oct 2008 17:56:49 -0000	1.7
***************
*** 29,39 ****
      return false;
      } 
-   if(this->Makefile->GetCMakeInstance()->GetIsInTryCompile())
-     {
-     this->SetError
-       ("called from a try_compile, "
-        "all languages must be enabled before trying them.");
-     return false;
-     }
    for (std::vector<std::string>::const_iterator it = args.begin();
         it != args.end();
--- 29,32 ----



More information about the Cmake-commits mailing list