curieimu: Make compilation dependant on mraa_firmata_init

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-03-18 11:34:38 +00:00
committed by Mihai Tudor Panu
parent fb5c809ff8
commit 22636fb47a
2 changed files with 14 additions and 6 deletions

View File

@ -255,7 +255,9 @@ add_example (apa102)
add_example (tex00)
add_example (bmi160)
add_example (smartdrive)
add_example (curieimu)
if (HAVE_FIRMATA)
add_example (curieimu)
endif ()
# These are special cases where you specify example binary, source file and module(s)
include_directories (${PROJECT_SOURCE_DIR}/src)