mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 19:30:13 -06:00
As reported in the BUG #22524, mismatched parenthesis reported differently for `while()` and `if()`. The problem was in the double loop (over "handlers" and the arguments), where the outer loop didn't check the result of the running handler.
10 lines
170 B
CMake
10 lines
170 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(MissingArgument)
|
|
run_cmake(EndMissing)
|
|
run_cmake(EndMismatch)
|
|
run_cmake(EndAlone)
|
|
run_cmake(EndAloneArgs)
|
|
|
|
run_cmake(unbalanced-parenthesis)
|