Last change
on this file since 411 was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
File size:
795 bytes
|
Line | |
---|
1 | PROJECT(OpticalFlow)
|
---|
2 | cmake_minimum_required(VERSION 2.8)
|
---|
3 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
4 |
|
---|
5 | if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
|
---|
6 |
|
---|
7 | SET(FLAIR_USE_FILTER TRUE)
|
---|
8 | SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
|
---|
9 | SET(FLAIR_USE_VISION_FILTER TRUE)
|
---|
10 | SET(FLAIR_USE_META TRUE)
|
---|
11 |
|
---|
12 | SET(SRC_FILES
|
---|
13 | src/main.cpp
|
---|
14 | src/DemoOpticalFlow.cpp
|
---|
15 | )
|
---|
16 |
|
---|
17 | FLAIR_DEMO(${PROJECT_NAME} "${SRC_FILES}"
|
---|
18 | DEST_DIR OpticalFlow
|
---|
19 | COPY_RESOURCES
|
---|
20 | )
|
---|
21 |
|
---|
22 | else()
|
---|
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()
|
---|
28 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.