diff options
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index aa9731b..4aa04e3 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -1244,7 +1244,8 @@ void cmFileCommand bool cmFileCommand::HandleInstallDestination(cmFileInstaller& installer, std::string& destination) { - if ( destination.size() < 2 ) + // allow for / to be a valid destination + if ( destination.size() < 2 && destination != "/" ) { this->SetError("called with inapropriate arguments. " "No DESTINATION provided or ."); |