Changeset 224 in flair-src for trunk/demos/OpticalFlow


Ignore:
Timestamp:
Mar 6, 2018, 12:12:58 PM (7 years ago)
Author:
Sanahuja Guillaume
Message:

maj for armv5te

Location:
trunk/demos/OpticalFlow
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/OpticalFlow/simulator/CMakeLists.txt

    r123 r224  
    55SET(FLAIR_USE_SIMULATOR TRUE)
    66SET(FLAIR_USE_SIMULATOR_GL TRUE)
    7 SET(FLAIR_USE_VISION_FILTER TRUE)
     7#SET(FLAIR_USE_VISION_FILTER TRUE)
    88
    99include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
  • trunk/demos/OpticalFlow/uav/CMakeLists.txt

    r123 r224  
    11PROJECT(OpticalFlow)
    22cmake_minimum_required(VERSION 2.8)
     3include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
     4
     5if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
    36
    47SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
     
    811SET(FLAIR_USE_META TRUE)
    912
    10 include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
    1113include(${FLAIR_USE_FILE})
    1214
     
    3335
    3436TARGET_LINK_LIBRARIES(${PROJECT_NAME}_nrt ${FLAIR_LIBRARIES_NRT})
     37
     38else()
     39    if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
     40        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
     41    else()
     42        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
     43    endif()
     44endif()
Note: See TracChangeset for help on using the changeset viewer.