Changeset 97 in flair-dev for trunk/cmake-modules/FlairUseFile.cmake


Ignore:
Timestamp:
Jan 30, 2019, 3:06:32 PM (3 years ago)
Author:
Sanahuja Guillaume
Message:

going to out of source build

File:
1 edited

Legend:

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

    r83 r97  
     1if(DEFINED FLAIRUSEFILE_INCLUDED)
     2    return()
     3endif()
     4
     5SET(FLAIRUSEFILE_INCLUDED true)
     6
    17find_package(LibXml2 REQUIRED)
    28find_package(Xenomai QUIET)
     
    2026
    2127#check if we have a flair-hds directory
    22 if (IS_DIRECTORY $ENV{FLAIR_ROOT}/flair-hds )
    23         message("found flair-hds directory")
    24         SET(FOUND_HDS_DIR TRUE)
    25   SET(FLAIRHDS_LIBRARY_DIR
     28if (DEFINED FOUND_HDS_DIR)
     29    SET(FLAIRHDS_LIBRARY_DIR
    2630                $ENV{FLAIR_ROOT}/flair-hds/bin/lib/${ARCH_DIR}
    2731        )
     
    6367IF (FLAIR_USE_VISION_FILTER)
    6468    if(FOUND_HDS_DIR AND ("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv7a-neon" OR "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64"))
    65         message("using libdspcv_gpp.a for vision filter")
     69        message(${PROJECT_NAME} ": using libdspcv_gpp.a for vision filter")
    6670                SET(FLAIR_INCLUDE_DIR ${FLAIR_INCLUDE_DIR} $ENV{FLAIR_ROOT}/flair-hds/dev/include/VisionFilter)
    6771                SET(FLAIR_LIBRARIES ${FLAIRHDS_LIBRARY_DIR}/libVisionFilter.a ${FLAIRHDS_LIBRARY_DIR}/libdspcv_gpp.a ${FLAIR_LIBRARIES})
Note: See TracChangeset for help on using the changeset viewer.