diff options
author | Brad King <brad.king@kitware.com> | 2020-08-06 14:38:27 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-08-06 10:39:47 -0400 |
commit | 89e5f95c2bf657bdc5adb78f55f3692c45fbb40b (patch) | |
tree | 4272969d55408040d0f2209f20d5ed2eed9db994 | |
parent | 85f6eb18a5cb2fb5c98dc7c377ce3559febe309a (diff) | |
parent | ef97fbe6c203e6504cae9282c3b826d9e4d84147 (diff) | |
download | cmake-89e5f95c2bf657bdc5adb78f55f3692c45fbb40b.tar.gz |
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
-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 4d39312c0c..7e35fe7984 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"; |