CMake: Add Rust toolchain detection

This commit is contained in:
Micah Snyder 2021-03-04 21:14:08 -08:00 committed by Micah Snyder
parent 7e36ec4686
commit a53eeec275
3 changed files with 289 additions and 13 deletions

View file

@ -34,6 +34,10 @@ option(OPTIMIZE
"Allow compiler optimizations. Set to OFF to disable (i.e. to set -O0)."
ON)
option(MAINTAINER_MODE
"Update generated sources. Requires flex, bison, cbindgen."
${MAINTAINER_MODE_DEFAULT})
option(ENABLE_WERROR
"Compile time warnings will cause build failures.")