[CMake] BUG: invalid cmake_install.cmake created

Alexander Neundorf a.neundorf-work at gmx.net
Thu Mar 16 14:42:29 EST 2006


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) 
 
Bye 
Alex 
 

-- 
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer


More information about the CMake mailing list