mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-27 04:09:36 +03: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)
|