mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 12:26:11 +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()
|