Last change
on this file since 324 was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
File size:
731 bytes
|
Line | |
---|
1 | PROJECT(MixedReality_simulator_real)
|
---|
2 | cmake_minimum_required(VERSION 2.8)
|
---|
3 |
|
---|
4 | SET(FLAIR_USE_SIMULATOR TRUE)
|
---|
5 | SET(FLAIR_USE_SIMULATOR_GL TRUE)
|
---|
6 |
|
---|
7 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
8 |
|
---|
9 | if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")
|
---|
10 |
|
---|
11 | SET(SRC_FILES
|
---|
12 | src/main.cpp
|
---|
13 | )
|
---|
14 |
|
---|
15 | FLAIR_DEMO(${PROJECT_NAME} "${SRC_FILES}"
|
---|
16 | DEST_DIR MixedReality_real
|
---|
17 | COPY_RESOURCES
|
---|
18 | )
|
---|
19 |
|
---|
20 | else()
|
---|
21 | if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
|
---|
22 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
|
---|
23 | else()
|
---|
24 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
|
---|
25 | endif()
|
---|
26 | endif()
|
---|
27 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.