source: flair-src/branches/sanscv/lib/FlairSimulator/CMakeLists.txt@ 363

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

removing opencv dependency

File size: 808 bytes
Line 
1PROJECT(FlairSimulator)
2cmake_minimum_required(VERSION 2.8)
3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
4
5find_package(LibXml2 REQUIRED)
6
7INCLUDE_DIRECTORIES(
8 ${LIBXML2_INCLUDE_DIR}
9 ${CMAKE_CURRENT_SOURCE_DIR}/src
10 ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported
11 ${CMAKE_CURRENT_SOURCE_DIR}/../FlairCore/src
12 ${CMAKE_CURRENT_SOURCE_DIR}/../FlairSensorActuator/src
13 ${CMAKE_SYSROOT}/usr/include/vrpn
14 ${CMAKE_SYSROOT}/usr/include/irrlicht
15)
16
17FILE(GLOB FLAIRSIMU_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
18
19add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/no_gl)
20if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
21add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gl)
22endif()
Note: See TracBrowser for help on using the repository browser.