Changeset 300 in flair-src for trunk/demos


Ignore:
Timestamp:
Feb 4, 2019, 12:07:35 PM (6 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

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

    r299 r300  
    11PROJECT(OpticalFlow)
     2
     3if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
    24
    35add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/simulator)
    46add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/uav)
     7
     8else()
     9    if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
     10        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
     11    else()
     12        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
     13    endif()
     14endif()
Note: See TracChangeset for help on using the changeset viewer.