source: flair-src/branches/sanscv/tools/VrpnLite/CMakeLists.txt@ 409

Last change on this file since 409 was 324, checked in by Sanahuja Guillaume, 5 years ago

removing opencv dependency

File size: 662 bytes
Line 
1PROJECT(vrpnlite)
2cmake_minimum_required(VERSION 2.8)
3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
4
5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
6
7SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
8set(FLAIR_USE_VRPN true)
9
10SET(SRC_FILES
11 src/VrpnLite.cpp
12 src/main.cpp
13)
14
15FLAIR_NRT_TOOL(${PROJECT_NAME} "${SRC_FILES}" COPY_RESOURCES)
16
17else()
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()
23endif()
Note: See TracBrowser for help on using the repository browser.