mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 09:01:39 -08:00
5 lines
174 B
CMake
5 lines
174 B
CMake
function(auto_option name description default)
|
|
set(${name} ${default} CACHE STRING "${description}")
|
|
set_property(CACHE ${name} PROPERTY STRINGS AUTO ON OFF)
|
|
endfunction()
|