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

Last change on this file since 300 was 300, checked in by Sanahuja Guillaume, 3 years ago

m

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