diff options
author | Brad King <brad.king@kitware.com> | 2016-04-15 17:23:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-15 17:23:41 (GMT) |
commit | 32d569af9a7174f53cd2abd0248385bfb7fc1929 (patch) | |
tree | 3467d28017987fe5fa8fb49d3466746b96b11111 /Source/QtDialog | |
parent | 52dddefcbbd2a79826fe9cb5b5fe787c6cdfe2a8 (diff) | |
download | CMake-32d569af9a7174f53cd2abd0248385bfb7fc1929.zip CMake-32d569af9a7174f53cd2abd0248385bfb7fc1929.tar.gz CMake-32d569af9a7174f53cd2abd0248385bfb7fc1929.tar.bz2 |
cmake-gui: Teach --install make destination directory (#16064)
Ensure the destination directory exists before creating symlinks in it.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeSetup.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx index 4f93a77..cff4f6f 100644 --- a/Source/QtDialog/CMakeSetup.cxx +++ b/Source/QtDialog/CMakeSetup.cxx @@ -217,6 +217,7 @@ static bool cmOSXInstall(std::string const& dir, std::string const& tool) return true; } } + cmSystemTools::MakeDirectory(dir); if (symlink(tool.c_str(), link.c_str()) == 0) { std::cerr << "Linked: '" << link << "' -> '" << tool << "'\n"; |