# pwimp_use_dc1394.cmake -- # # CMake definitions for linking with the libdc1394 (industrial camera over firewire). # # Copyright (c) 2016 LIG/IIHM, University of Grenoble # # See the file "gil_LicenseTerms.txt" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # Created on Nov. 11th, 2016 (FB) Std_Header() if(MACOS) Indent_Include("${CUR_DIR}/pwimp_macos_use_macports.cmake") set(DC1394_LIB "/opt/local/lib/libdc1394.dylib") endif(MACOS) if(LINUX) set(DC1394_LIB "-ldc1394") endif(LINUX) if(NOT WINDOWS) target_link_libraries(${TARGET_NAME} ${DC1394_LIB}) message(STATUS "${MSG_INDENT} Target ${TARGET_NAME} links with dc1394 lib >${DC1394_LIB}<.") endif(NOT WINDOWS)