mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
b80aa1d3a3
A positional option allows 'cmake --workflow --preset <preset>' to be shortened to 'cmake --workflow <preset>'. Fixes: #26270
4 lines
169 B
CMake
4 lines
169 B
CMake
if(NOT WORKFLOW_PRESET STREQUAL "SinglePresetArg")
|
|
message(FATAL_ERROR "Expected 'SinglePresetArg' workflow preset, but actual value is ${WORKFLOW_PRESET}")
|
|
endif()
|