未验证 提交 403ae357 编写于 作者: J Jeremy Koritzinsky 提交者: GitHub

Fix incremental CMake command line check on Windows (#51035)

上级 1b50f00a
......@@ -76,7 +76,7 @@ if not "%__ConfigureOnly%" == "1" (
if exist "%__CmdLineOptionsUpToDateFile%" (
set /p __CMakeCmdLineCache=<"%__CmdLineOptionsUpToDateFile%"
REM Strip the extra space from the end of the cached command line
if [!__ExtraCmakeParams!] == [!__CMakeCmdLineCache:~0,-1!] (
if "!__ExtraCmakeParams!" == "!__CMakeCmdLineCache:~0,-1!" (
echo The CMake command line is the same as the last run. Skipping running CMake.
exit /B 0
) else (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册