mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 13:55:26 +00:00
6 lines
213 B
CMake
6 lines
213 B
CMake
|
|
# Like option(), but the value can also be AUTO
|
|
macro(tri_option name desc default)
|
|
set("${name}" "${default}" CACHE STRING "${desc}")
|
|
set_property(CACHE "${name}" PROPERTY STRINGS AUTO ON OFF)
|
|
endmacro() |