summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenericGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-10 16:39:45 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-10 16:39:45 (GMT)
commit26e75041fa1b5198ef6cc6372c9b529a8189e649 (patch)
tree6dcb353781dda6154995beacd906cd2304c2898c /Source/CPack/cmCPackGenericGenerator.cxx
parent5b3a2c84fc26bc74e36ecb187aa4456025fe45ea (diff)
downloadCMake-26e75041fa1b5198ef6cc6372c9b529a8189e649.zip
CMake-26e75041fa1b5198ef6cc6372c9b529a8189e649.tar.gz
CMake-26e75041fa1b5198ef6cc6372c9b529a8189e649.tar.bz2
BUG: Fix relative path to config file, fix cmake_install.cmake location problem
Diffstat (limited to 'Source/CPack/cmCPackGenericGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackGenericGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGenericGenerator.cxx b/Source/CPack/cmCPackGenericGenerator.cxx
index 8d5c832..4d34cd3 100644
--- a/Source/CPack/cmCPackGenericGenerator.cxx
+++ b/Source/CPack/cmCPackGenericGenerator.cxx
@@ -282,6 +282,7 @@ int cmCPackGenericGenerator::InstallProject()
= this->GetOption("CPACK_INSTALL_CMAKE_PROJECTS");
const char* cmakeGenerator
= this->GetOption("CPACK_CMAKE_GENERATOR");
+ std::string currentWorkingDirectory = cmSystemTools::GetCurrentWorkingDirectory();
if ( cmakeProjects && *cmakeProjects )
{
if ( !cmakeGenerator )