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
parent 224a915538
commit 61dbfe4f23
2 changed files with 14 additions and 6 deletions

View File

@ -240,7 +240,9 @@ add_example (rhusb)
add_example (apds9930)
add_example (kxcjk1013)
add_example (ssd1351)
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)