Skip to content

Commit

Permalink
Fix incremental CMake command line check on Windows (#51035)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Apr 10, 2021
1 parent 1b50f00 commit 403ae35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/native/gen-buildsys.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 403ae35

Please sign in to comment.