summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-02-18 15:26:28 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-02-18 15:26:28 (GMT)
commitef537ffec7715c4249b3476307014292955e47c2 (patch)
tree7b018fa0cfb259d05dd648166001c2bcb7175a30 /Source/CPack
parentc51a45466dea6d375a089130edf615b47457c593 (diff)
downloadCMake-ef537ffec7715c4249b3476307014292955e47c2.zip
CMake-ef537ffec7715c4249b3476307014292955e47c2.tar.gz
CMake-ef537ffec7715c4249b3476307014292955e47c2.tar.bz2
ENH: have cpack work with DESTDIR install and ingest qt framework libs into cmake-gui
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index ec34058..6c79af4 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -536,6 +536,7 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
cmCPackLogger(cmCPackLog::LOG_OUTPUT,
"- Install project: " << installProjectName << std::endl);
cmake cm;
+ cm.AddCMakePaths();
cm.SetProgressCallback(cmCPackGeneratorProgress, this);
cmGlobalGenerator gg;
gg.SetCMakeInstance(&cm);
@@ -596,7 +597,6 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
{
mf->AddDefinition("CMAKE_INSTALL_DO_STRIP", "1");
}
-
int res = mf->ReadListFile(0, installFile.c_str());
if ( cmSystemTools::GetErrorOccuredFlag() || !res )
{