diff options
author | Brad King <brad.king@kitware.com> | 2007-05-25 15:08:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-25 15:08:52 (GMT) |
commit | 22a1df057617710ea613d9673314fa81ddb6bbab (patch) | |
tree | 60acda1a8233f445ce6f54a835b0734ced65cd5e /Source/cmInstallFilesCommand.cxx | |
parent | 92ec498b8c2af31c9baec71885707494f84dfd46 (diff) | |
download | CMake-22a1df057617710ea613d9673314fa81ddb6bbab.zip CMake-22a1df057617710ea613d9673314fa81ddb6bbab.tar.gz CMake-22a1df057617710ea613d9673314fa81ddb6bbab.tar.bz2 |
BUG: Fix FILES mode after recent changes.
Diffstat (limited to 'Source/cmInstallFilesCommand.cxx')
-rw-r--r-- | Source/cmInstallFilesCommand.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx index 50b29dd..48d3e70 100644 --- a/Source/cmInstallFilesCommand.cxx +++ b/Source/cmInstallFilesCommand.cxx @@ -47,6 +47,7 @@ bool cmInstallFilesCommand std::string f = this->FindInstallSource(s->c_str()); this->Files.push_back(f); } + this->CreateInstallGenerator(); } else { @@ -112,6 +113,11 @@ void cmInstallFilesCommand::FinalPass() } } + this->CreateInstallGenerator(); +} + +void cmInstallFilesCommand::CreateInstallGenerator() const +{ // Construct the destination. This command always installs under // the prefix. std::string destination = "${CMAKE_INSTALL_PREFIX}"; @@ -130,6 +136,7 @@ void cmInstallFilesCommand::FinalPass() no_component, no_rename)); } + /** * Find a file in the build or source tree for installation given a * relative path from the CMakeLists.txt file. This will favor files |