finddc1394.cmake
来自「DTMK软件开发包,此为开源软件,是一款很好的医学图像开发资源.」· CMAKE 代码 · 共 37 行
CMAKE
37 行
#
# try to find dc1394 library and include files
#
# DC1394_INCLUDE_DIR, where to find dc1394/dc1394_control.h, etc.
# DC1394_LIBRARIES, the libraries to link against to use DC1394.
# DC1394_FOUND, If false, do not try to use DC1394.
#
# Currently this code works with libdc1394 version 2.0.0-rc7.
FIND_PATH( DC1394_INCLUDE_DIR dc1394/control.h
/usr/include
/usr/local/include
)
FIND_LIBRARY( DC1394_LIBRARY dc1394
/usr/lib64
/usr/lib
/usr/local/lib
)
SET( DC1394_FOUND "NO" )
IF(DC1394_INCLUDE_DIR)
IF(DC1394_LIBRARY)
SET( DC1394_LIBRARIES
${DC1394_LIBRARY}
)
SET( DC1394_FOUND "YES" )
#The following deprecated settings are for backwards compatibility with CMake1.4
SET (DC1394_INCLUDE_PATH ${DC1394_INCLUDE_DIR})
ENDIF(DC1394_LIBRARY)
ENDIF(DC1394_INCLUDE_DIR)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?