Last change
on this file since 396 was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
File size:
662 bytes
|
Line | |
---|
1 | PROJECT(vrpnlite)
|
---|
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 "x86_64")
|
---|
6 |
|
---|
7 | SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
|
---|
8 | set(FLAIR_USE_VRPN true)
|
---|
9 |
|
---|
10 | SET(SRC_FILES
|
---|
11 | src/VrpnLite.cpp
|
---|
12 | src/main.cpp
|
---|
13 | )
|
---|
14 |
|
---|
15 | FLAIR_NRT_TOOL(${PROJECT_NAME} "${SRC_FILES}" COPY_RESOURCES)
|
---|
16 |
|
---|
17 | else()
|
---|
18 | if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
|
---|
19 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
|
---|
20 | else()
|
---|
21 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
|
---|
22 | endif()
|
---|
23 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.