summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-03-16 19:51:54 (GMT)
committerBrad King <brad.king@kitware.com>2006-03-16 19:51:54 (GMT)
commit77c65b954eeeec3f936ddb27beee2381f7a8956e (patch)
treea14a0b04eebc837a6842b84c901d926f7e92a7bd /Source
parent8893db3539471803171743bda4f58c21f2b204b3 (diff)
downloadCMake-77c65b954eeeec3f936ddb27beee2381f7a8956e.zip
CMake-77c65b954eeeec3f936ddb27beee2381f7a8956e.tar.gz
CMake-77c65b954eeeec3f936ddb27beee2381f7a8956e.tar.bz2
BUG: Fixed generation of mismatched IF in install script. This bug was introduced during the m_ sweep.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 33b8861..3aaf824 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -308,7 +308,7 @@ void cmLocalGenerator::GenerateInstallRules()
fout << "# Install script for directory: "
<< this->Makefile->GetCurrentDirectory() << std::endl << 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
<< "ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)" << std::endl
<< "STRING(REGEX REPLACE \"/$\" \"\" CMAKE_INSTALL_PREFIX \"${CMAKE_INSTALL_PREFIX}\")" << std::endl