BUG: Fixed generation of mismatched IF in install script. This bug was introduced during the m_ sweep.
This commit is contained in:
parent
8893db3539
commit
77c65b954e
|
@ -308,7 +308,7 @@ void cmLocalGenerator::GenerateInstallRules()
|
||||||
fout << "# Install script for directory: "
|
fout << "# Install script for directory: "
|
||||||
<< this->Makefile->GetCurrentDirectory() << std::endl << std::endl;
|
<< this->Makefile->GetCurrentDirectory() << std::endl << std::endl;
|
||||||
fout << "# Set the install prefix" << std::endl
|
fout << "# Set the install prefix" << std::endl
|
||||||
<< "IF(NOT CMAKE_INSTALL_PREFIX)" << std::endl
|
<< "IF(NOT DEFINED CMAKE_INSTALL_PREFIX)" << std::endl
|
||||||
<< " SET(CMAKE_INSTALL_PREFIX \"" << prefix << "\")" << std::endl
|
<< " SET(CMAKE_INSTALL_PREFIX \"" << prefix << "\")" << std::endl
|
||||||
<< "ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)" << std::endl
|
<< "ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)" << std::endl
|
||||||
<< "STRING(REGEX REPLACE \"/$\" \"\" CMAKE_INSTALL_PREFIX \"${CMAKE_INSTALL_PREFIX}\")" << std::endl
|
<< "STRING(REGEX REPLACE \"/$\" \"\" CMAKE_INSTALL_PREFIX \"${CMAKE_INSTALL_PREFIX}\")" << std::endl
|
||||||
|
|
Loading…
Reference in New Issue