source: flair-src/trunk/demos/OpticalFlow/CMakeLists.txt@ 352

Last change on this file since 352 was 312, checked in by Sanahuja Guillaume, 6 years ago

maj

File size: 571 bytes
RevLine 
[299]1PROJECT(OpticalFlow)
[312]2include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
[299]3
[300]4if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
5
[299]6add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/simulator)
7add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/uav)
[300]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.