Changeset 416 in flair-src


Ignore:
Timestamp:
Apr 13, 2021, 4:41:46 PM (4 years ago)
Author:
Sanahuja Guillaume
Message:

add intel aero

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake-modules/FlairUseFile.cmake

    r397 r416  
    135135
    136136#add arch specific uav lib lib
     137if(FOUND_HDS_DIR AND FLAIR_USE_META AND "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")     
     138  SET (AERO_LIB -Wl,--whole-archive ${FLAIR_LIBRARY_DIR}/libFlairIntelAero.a -Wl,--no-whole-archive)
     139        set(FLAIR_LIBRARIES_NRT ${AERO_LIB} ${FLAIR_LIBRARIES_NRT} nmea)
     140    set(FLAIR_LIBRARIES_RT ${AERO_LIB} ${FLAIR_LIBRARIES_RT} nmea)
     141endif()
     142
    137143if(FOUND_HDS_DIR AND FLAIR_USE_META AND "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv7a-neon") 
    138144  SET (PARROT_LIB -Wl,--whole-archive ${FLAIR_LIBRARY_DIR}/libFlairArdrone2.a ${FLAIR_LIBRARY_DIR}/libFlairBebop.a -Wl,--no-whole-archive)
     
    146152endif()
    147153if(FOUND_HDS_DIR AND FLAIR_USE_META AND "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "cortexa8hf-neon")     
    148   SET (PARROT_LIB -Wl,--whole-archive ${FLAIR_LIBRARY_DIR}/libFlairBeagleBlue.a -Wl,--no-whole-archive)
    149         set(FLAIR_LIBRARIES_NRT ${PARROT_LIB}  ${FLAIR_LIBRARIES_NRT})
    150     set(FLAIR_LIBRARIES_RT ${PARROT_LIB}  ${FLAIR_LIBRARIES_RT})
     154  SET (BEAGLE_LIB -Wl,--whole-archive ${FLAIR_LIBRARY_DIR}/libFlairBeagleBlue.a -Wl,--no-whole-archive)
     155        set(FLAIR_LIBRARIES_NRT ${BEAGLE_LIB}  ${FLAIR_LIBRARIES_NRT})
     156    set(FLAIR_LIBRARIES_RT ${BEAGLE_LIB}  ${FLAIR_LIBRARIES_RT})
    151157endif()
Note: See TracChangeset for help on using the changeset viewer.