blob: a3230ff70ccdf52d66fd0b4caafcb85821df3112 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
include (CheckFunctionExists)
include (CheckLibraryExists)
include (CheckIncludeFiles)
check_library_exists (${MRAA_LIBRARIES} mraa_firmata_init "" HAVE_FIRMATA)
if (HAVE_FIRMATA)
set (libname "curieimu")
set (libdescription "upm Curie IMU via Firmata")
set (module_src ${libname}.cpp)
set (module_hpp ${libname}.hpp)
upm_module_init ()
endif ()
|