Last change
on this file since 424 was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
File size:
621 bytes
|
Line | |
---|
1 | PROJECT(vrnbridge)
|
---|
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_VRPN true)
|
---|
8 |
|
---|
9 | include_directories(
|
---|
10 | ${CMAKE_SYSROOT}/usr/include/vrpn
|
---|
11 | )
|
---|
12 |
|
---|
13 | FLAIR_NRT_TOOL(${PROJECT_NAME} src/main.cpp)
|
---|
14 |
|
---|
15 | else()
|
---|
16 | if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
|
---|
17 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
|
---|
18 | else()
|
---|
19 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
|
---|
20 | endif()
|
---|
21 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.