Techt3o's picture
4f12b484f180574c6eb9e28ac739e76d44c165853db056d7b668b65be58331d0
739258a verified
raw
history blame
874 Bytes
###############################################################################
# Find Toshiba TeliCam
#
# This sets the following variables:
# TeliCam_FOUND - True if TeliCam was found.
# TeliCam_INCLUDE_DIRS - Directories containing the TeliCam include files.
# TeliCam_LIBRARIES - Libraries needed to use TeliCam.
find_path(
zstd_INCLUDE_DIR zstd.h
PATHS
/opt/local/include
/usr/local/include
/usr/include
PATH_SUFFIXES TeliCam
)
find_library(
zstd_LIBRARY
NAMES zstd
PATHS
/opt/local/lib
/user/local/lib
/usr/lib
)
# Plural forms
set(zstd_INCLUDE_DIRS ${zstd_INCLUDE_DIR})
set(zstd_LIBRARIES ${zstd_LIBRARY})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args( zstd
FOUND_VAR zstd_FOUND
REQUIRED_VARS zstd_INCLUDE_DIR zstd_LIBRARY
)