dolphin/cmake/modules/FindRAW1394.cmake
Allen Winter 2307f32166 move RAW1394 discovery module to apps, because kinfocenter needs it now
and nothing in workspace uses it.


svn path=/trunk/KDE/kdebase/apps/; revision=770810
2008-02-04 14:05:28 +00:00

21 lines
647 B
CMake

# - Try to find the raw1394 directory library
# Once done this will define
#
# RAW1394_FOUND - system has RAW1394
# RAW1394_INCLUDE_DIR - the RAW1394 include directory
# RAW1394_LIBRARIES - The libraries needed to use FAM
if(RAW1394_INCLUDE_DIR AND RAW1394_LIBRARIES)
set(RAW1394_FIND_QUIETLY TRUE)
endif(RAW1394_INCLUDE_DIR AND RAW1394_LIBRARIES)
FIND_PATH(RAW1394_INCLUDE_DIR libraw1394/raw1394.h)
FIND_LIBRARY(RAW1394_LIBRARIES NAMES raw1394 )
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(RAW1394 DEFAULT_MSG RAW1394_LIBRARIES RAW1394_INCLUDE_DIR)
MARK_AS_ADVANCED(RAW1394_INCLUDE_DIR RAW1394_LIBRARIES)