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

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

removing opencv dependency

File size: 571 bytes
Line 
1PROJECT(OpticalFlow)
2include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
3
4if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
5
6add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/simulator)
7add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/uav)
8
9else()
10 if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
11 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
12 else()
13 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
14 endif()
15endif()
Note: See TracBrowser for help on using the repository browser.