diff options
author | Brad King <brad.king@kitware.com> | 2020-08-06 14:38:27 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-08-06 14:39:47 (GMT) |
commit | 89e5f95c2bf657bdc5adb78f55f3692c45fbb40b (patch) | |
tree | 4272969d55408040d0f2209f20d5ed2eed9db994 /Source/cmLocalGenerator.cxx | |
parent | 85f6eb18a5cb2fb5c98dc7c377ce3559febe309a (diff) | |
parent | ef97fbe6c203e6504cae9282c3b826d9e4d84147 (diff) | |
download | CMake-89e5f95c2bf657bdc5adb78f55f3692c45fbb40b.zip CMake-89e5f95c2bf657bdc5adb78f55f3692c45fbb40b.tar.gz CMake-89e5f95c2bf657bdc5adb78f55f3692c45fbb40b.tar.bz2 |
Merge topic 'reuse_pch_no_delay'
ef97fbe6c2 PCH: Avoid unnecessary 30s delay on MSBuild Generator with REUSE_FROM
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5102
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 4d39312..7e35fe7 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2613,7 +2613,7 @@ void cmLocalGenerator::CopyPchCompilePdb( } file << " break()\n" << " endif()\n"; - file << " else()\n" + file << " elseif(NOT EXISTS \"" << from_file << "\")\n" << " execute_process(COMMAND ${CMAKE_COMMAND}" << " -E sleep 1)\n" << " endif()\n"; |