
This allows a single condition to be used to choose between two alternatives. Without this the condition must be duplicated with one surrounded by `NOT`. Closes: #15585
6 lines
85 B
CMake
6 lines
85 B
CMake
|
|
add_custom_target(check ALL COMMAND check
|
|
$<IF:asdf,a,b>
|
|
$<IF:asdf,a>
|
|
)
|