diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2010-11-15 19:54:19 (GMT) |
---|---|---|
committer | Eric NOULARD <eric.noulard@gmail.com> | 2010-11-15 19:54:19 (GMT) |
commit | 66e86b4770dcda3b5e79776c4cda6e60646189f1 (patch) | |
tree | 8c3ba93992572f2f5200a3a1c442acbbbcec36ff /Source/CPack/cmCPackGenerator.cxx | |
parent | 2c84d169b36b1b8713517a8d8799b82dbf59725a (diff) | |
download | CMake-66e86b4770dcda3b5e79776c4cda6e60646189f1.zip CMake-66e86b4770dcda3b5e79776c4cda6e60646189f1.tar.gz CMake-66e86b4770dcda3b5e79776c4cda6e60646189f1.tar.bz2 |
CPack fix kwstyle breakage and make CPackRPM backward compatible
backward compatible= No componentized RPM unless requested
using CPACK_RPM_COMP0NENT_INSTALL
Diffstat (limited to 'Source/CPack/cmCPackGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index d9f2b47..92e5b6a 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -741,7 +741,9 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects( * - Because it was already used for component install * in order to put things in subdirs... */ - cmSystemTools::PutEnv((std::string("DESTDIR=")+tempInstallDirectory).c_str()); + cmSystemTools::PutEnv( + (std::string("DESTDIR=")+tempInstallDirectory).c_str() + ); cmCPackLogger(cmCPackLog::LOG_DEBUG, "- Creating directory: '" << dir << "'" << std::endl); |