[CMake] BUG: invalid cmake_install.cmake created

Brad King brad.king at kitware.com
Thu Mar 16 14:52:34 EST 2006


Alexander Neundorf wrote:
> Hi, 
>  
> in cmLocalGenerator.cxx,  
> void cmLocalGenerator::GenerateInstallRules(), there's the following 
> code: 
> fout << "# Set the install prefix" << std::endl 
>     << "IF(NOT CMAKE_INSTALL_PREFIX)" << std::endl 
>     << "  SET(CMAKE_INSTALL_PREFIX \"" << prefix << "\")" << std::endl 
>     << "ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)" << std::endl 
>  
> which obviously generates a wrong IF/ENDIF combination (the DEFINED in 
> ENDIF) 

It looks like that was broken by Ken's recent m_ sweep.  I've corrected it.

-Brad


More information about the CMake mailing list