Last change
on this file was 401, checked in by Sanahuja Guillaume, 4 years ago |
resolve bug when not using hdsvisionfilter but using cameras on dm3730
|
File size:
795 bytes
|
Line | |
---|
1 | PROJECT(MixedReality_uav_virtual)
|
---|
2 | cmake_minimum_required(VERSION 2.8)
|
---|
3 |
|
---|
4 | SET(FLAIR_USE_FILTER TRUE)
|
---|
5 | SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
|
---|
6 | SET(FLAIR_USE_META TRUE)
|
---|
7 | SET(FLAIR_USE_VRPN TRUE)
|
---|
8 |
|
---|
9 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
10 |
|
---|
11 | if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")
|
---|
12 |
|
---|
13 | SET(SRC_FILES
|
---|
14 | src/main.cpp
|
---|
15 | src/App.cpp
|
---|
16 | )
|
---|
17 |
|
---|
18 | FLAIR_DEMO(${PROJECT_NAME} "${SRC_FILES}"
|
---|
19 | DEST_DIR MixedReality_virtual
|
---|
20 | COPY_RESOURCES
|
---|
21 | )
|
---|
22 |
|
---|
23 | else()
|
---|
24 | if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
|
---|
25 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
|
---|
26 | else()
|
---|
27 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
|
---|
28 | endif()
|
---|
29 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.