upm/CMakeLists.txt
Brendan Le Foll d986654455 initial commit of upm with hmc5883l support
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-04-25 14:48:43 +01:00

15 lines
291 B
CMake

cmake_minimum_required (VERSION 2.8)
project (upm)
set (SWIG_EXECUTABLE /usr/bin/swig)
find_package (SWIG REQUIRED)
include (${SWIG_USE_FILE})
find_package(PkgConfig REQUIRED)
pkg_check_modules(MAA maa>=0.1.1)
set (CMAKE_SWIG_FLAGS "")
add_subdirectory (src)
add_subdirectory (examples)