mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 19:49:51 +00:00
BUG: Apply patch from issue #6006.
This commit is contained in:
parent
58f671bb1c
commit
5e0dadbfb8
@ -925,7 +925,8 @@ cmInstallCommand::HandleDirectoryMode(std::vector<std::string> const& args)
|
||||
}
|
||||
|
||||
// Make sure the name is a directory.
|
||||
if(!cmSystemTools::FileIsDirectory(dir.c_str()))
|
||||
if(cmSystemTools::FileExists(dir.c_str()) &&
|
||||
!cmSystemTools::FileIsDirectory(dir.c_str()))
|
||||
{
|
||||
cmOStringStream e;
|
||||
e << args[0] << " given non-directory \""
|
||||
|
Loading…
Reference in New Issue
Block a user