57 lines
2.3 KiB
CMake
57 lines
2.3 KiB
CMake
# ===================================================================================================================
|
|
# The PlaYUVer Libs CMake configuration file
|
|
#
|
|
# ** File generated automatically, do not modify **
|
|
#
|
|
# Usage from an external project:
|
|
# In your CMakeLists.txt, add these lines:
|
|
#
|
|
# find_package(PlaYUVer REQUIRED)
|
|
# include_directories(${PLAYUVER_INCLUDE_DIRS})
|
|
# target_link_libraries(MY_TARGET_NAME ${PLAYUVER_LINKER_LIBS})
|
|
#
|
|
# If the module is found then PLAYUVER_<MODULE>_FOUND is set to TRUE.
|
|
#
|
|
# This file will define the following variables:
|
|
# - PLAYUVER_LINKER_LIBS : The list of all imported targets for OpenCV modules.
|
|
# - PLAYUVER_CXX_FLAGS
|
|
# - PLAYUVER_INCLUDE_DIRS : The PlaYUVer include directories.
|
|
# - PLAYUVER_VERSION : The version of this PlaYUVer build: "@PLAYUVER_VERSION@"
|
|
# - PLAYUVER_VERSION_MAJOR : Major version part of PLAYUVER_VERSION: "@PLAYUVER_VERSION_MAJOR@"
|
|
# - PLAYUVER_VERSION_MINOR : Minor version part of PLAYUVER_VERSION: "@PLAYUVER_VERSION_MINOR@"
|
|
# - PLAYUVER_VERSION_PATCH : Patch version part of PLAYUVER_VERSION: "@PLAYUVER_VERSION_PATCH@"
|
|
#
|
|
# ===================================================================================================================
|
|
|
|
|
|
# ======================================================
|
|
# Variables:
|
|
# ======================================================
|
|
SET(PLAYUVER_VERSION @PLAYUVER_VERSION@)
|
|
SET(PLAYUVER_VERSION_MAJOR @PLAYUVER_VERSION_MAJOR@)
|
|
SET(PLAYUVER_VERSION_MINOR @PLAYUVER_VERSION_MINOR@)
|
|
SET(PLAYUVER_VERSION_PATCH @PLAYUVER_VERSION_PATCH@)
|
|
|
|
SET( PLAYUVER_LINKER_LIBS "" )
|
|
SET( PLAYUVER_CXX_FLAGS "" )
|
|
SET( PLAYUVER_INCLUDE_DIRS "" )
|
|
|
|
LIST(APPEND PLAYUVER_LINKER_LIBS "PlaYUVerLib" )
|
|
LIST(APPEND PLAYUVER_INCLUDE_DIRS @CMAKE_INSTALL_PREFIX@/include )
|
|
|
|
# ======================================================
|
|
# PlaYUVer dependencies:
|
|
# ======================================================
|
|
|
|
IF( @USE_OPENCV@ )
|
|
LIST(APPEND PLAYUVER_INCLUDE_DIRS ${FFMPEG_INCLUDE_DIRS} )
|
|
LIST(APPEND PLAYUVER_LINKER_LIBS @OpenCV_LIBRARIES@ )
|
|
ENDIF()
|
|
|
|
|
|
IF( @USE_FFMPEG@ )
|
|
LIST(APPEND PLAYUVER_INCLUDE_DIRS ${OpenCV_INCLUDE_DIRS} )
|
|
LIST(APPEND PLAYUVER_LINKER_LIBS @OpenCV_LIBRARIES@ )
|
|
ENDIF()
|
|
|