mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
895f7f16a7
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>
|
|
)
|