diff options
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r-- | Source/cmInstallCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx index 7f5f15b..1b47ec4 100644 --- a/Source/cmInstallCommand.cxx +++ b/Source/cmInstallCommand.cxx @@ -1837,8 +1837,7 @@ bool HandleDirectoryMode(std::vector<std::string> const& args, } // Make sure the name is a directory. - if (cmSystemTools::FileExists(dir) && - !cmSystemTools::FileIsDirectory(dir)) { + if (cmSystemTools::FileExists(dir, true)) { status.SetError(cmStrCat(args[0], " given non-directory \"", args[i], "\" to install.")); return false; |