1 # - Try to find the raw1394 directory library
2 # Once done this will define
4 # RAW1394_FOUND - system has RAW1394
5 # RAW1394_INCLUDE_DIR - the RAW1394 include directory
6 # RAW1394_LIBRARIES - The libraries needed to use FAM
8 if(RAW1394_INCLUDE_DIR AND RAW1394_LIBRARIES)
9 set(RAW1394_FIND_QUIETLY TRUE)
10 endif(RAW1394_INCLUDE_DIR AND RAW1394_LIBRARIES)
12 FIND_PATH(RAW1394_INCLUDE_DIR libraw1394/raw1394.h)
14 FIND_LIBRARY(RAW1394_LIBRARIES NAMES raw1394 )
16 include(FindPackageHandleStandardArgs)
17 FIND_PACKAGE_HANDLE_STANDARD_ARGS(RAW1394 DEFAULT_MSG RAW1394_LIBRARIES RAW1394_INCLUDE_DIR)
19 MARK_AS_ADVANCED(RAW1394_INCLUDE_DIR RAW1394_LIBRARIES)