Last change
on this file since 437 was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
File size:
575 bytes
|
Line | |
---|
1 | PROJECT(MavPlanner)
|
---|
2 | cmake_minimum_required(VERSION 2.8)
|
---|
3 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
4 |
|
---|
5 | if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
|
---|
6 |
|
---|
7 | INCLUDE_DIRECTORIES(
|
---|
8 | ${CMAKE_SOURCE_DIR}/src/mavlink_generated_messages/common
|
---|
9 | )
|
---|
10 |
|
---|
11 | FILE(GLOB MAVPLANNER_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
|
---|
12 |
|
---|
13 | FLAIR_NRT_TOOL(${PROJECT_NAME} "${MAVPLANNER_SRC}")
|
---|
14 |
|
---|
15 | else()
|
---|
16 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
|
---|
17 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.