fail: add support for pandaboard

Change-Id: I1525c9b36d58bf53ad238a553d914f183f983bba
This commit is contained in:
Lars Rademacher
2013-10-21 02:14:33 +02:00
parent 2f6111b2f4
commit 749631e21c
14 changed files with 736 additions and 0 deletions

22
cmake/FindFTDI.cmake Normal file
View File

@ -0,0 +1,22 @@
# Find FTDI library
# Defines:
# FTDI_FOUND
# FTDI_INCLUDE_DIR
# FTDI_LIBRARY
#
FIND_PATH(FTDI_INCLUDE_DIR ftdi.h)
FIND_LIBRARY(FTDI_LIBRARY NAMES ftdi
PATHS /usr/lib /usr/local/lib
ENV LIBRARY_PATH # PATH and LIB will also work
ENV LD_LIBRARY_PATH
)
# handle the QUIETLY and REQUIRED arguments and set FTDI_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(FTDI DEFAULT_MSG FTDI_LIBRARY FTDI_INCLUDE_DIR)
MARK_AS_ADVANCED(FTDI_INCLUDE_DIR FTDI_LIBRARY)
unset(FTDI_DIR CACHE)