mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-28 18:09:31 -06:00
Fix logic added by commit 634079b86d (cmGeneratorExpressionEvaluator:
Short-circuit boolean operators, 2023-09-11, v3.28.0-rc1~47^2) and
add missing test cases.
Fixes: #25412
8 lines
146 B
CMake
8 lines
146 B
CMake
set(error $<0>)
|
|
add_custom_target(check ALL COMMAND check
|
|
$<AND:0,${error}>
|
|
$<AND:0,1,${error}>
|
|
$<AND:1,0,${error}>
|
|
$<AND:0,0,${error}>
|
|
)
|