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