CMake/Tests/RunCMake/GeneratorExpressionShortCircuit/BadOR.cmake

5 lines
79 B
CMake

set(error $<0>)
add_custom_target(check ALL COMMAND check
$<OR:0,${error}>
)