Last change
on this file since 406 was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
File size:
571 bytes
|
Line | |
---|
1 | PROJECT(OpticalFlow)
|
---|
2 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
3 |
|
---|
4 | if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
|
---|
5 |
|
---|
6 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/simulator)
|
---|
7 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/uav)
|
---|
8 |
|
---|
9 | else()
|
---|
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()
|
---|
15 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.