Add option
This commit is contained in:
parent
f2b96ece0d
commit
677376795f
|
@ -1,6 +1,8 @@
|
||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
project(kerstezel-klant)
|
project(kerstezel-klant)
|
||||||
|
|
||||||
|
option(SPOOF "Spoof interactions with the BCM2835 library (allows building on non-raspberry pi devices" OFF)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
add_compile_options(/W4 /WX)
|
add_compile_options(/W4 /WX)
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in a new issue