upm/src/curieimu/CMakeLists.txt

12 lines
352 B
CMake
Raw Normal View History

include (CheckFunctionExists)
include (CheckLibraryExists)
include (CheckIncludeFiles)
check_library_exists (${MRAA_LIBRARIES} mraa_firmata_init "" HAVE_FIRMATA)
if (HAVE_FIRMATA)
set (libname "curieimu")
set (libdescription "Curie IMU via Firmata")
set (module_src ${libname}.cpp)
set (module_hpp ${libname}.hpp)
upm_module_init ()
endif ()