source: flair-src/branches/sanscv/demos/OpticalFlow/uav/CMakeLists.txt@ 403

Last change on this file since 403 was 324, checked in by Sanahuja Guillaume, 5 years ago

removing opencv dependency

File size: 795 bytes
Line 
1PROJECT(OpticalFlow)
2cmake_minimum_required(VERSION 2.8)
3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
4
5if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
6
7SET(FLAIR_USE_FILTER TRUE)
8SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
9SET(FLAIR_USE_VISION_FILTER TRUE)
10SET(FLAIR_USE_META TRUE)
11
12SET(SRC_FILES
13 src/main.cpp
14 src/DemoOpticalFlow.cpp
15)
16
17FLAIR_DEMO(${PROJECT_NAME} "${SRC_FILES}"
18 DEST_DIR OpticalFlow
19 COPY_RESOURCES
20)
21
22else()
23 if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
24 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
25 else()
26 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
27 endif()
28endif()
Note: See TracBrowser for help on using the repository browser.