mirror of
https://github.com/kiriruru/libwebrtc.git
synced 2026-06-15 02:40:44 +00:00
43 lines
1.9 KiB
CMake
43 lines
1.9 KiB
CMake
# - Config file for 'LibWebRTC' package
|
|
# It defines the following variables
|
|
#
|
|
# LIBWEBRTC_INCLUDE_DIRS - include directories
|
|
# LIBWEBRTC_LIBRARY_DIRS - library directories
|
|
# LIBWEBRTC_LIBRARIES - libraries to link against
|
|
# LIBWEBRTC_CMAKE_DIR - path to the CMake modules
|
|
# LIBWEBRTC_USE_FILE - path to the CMake use file
|
|
#
|
|
# - Version variables:
|
|
# WEBRTC_VERSION - WebRTC version with build prefix
|
|
#
|
|
# - Library type and targets variables:
|
|
# LIBWEBRTC_TARGET_OS - android, chromeos, ios, linux, nacl, mac or win
|
|
# LIBWEBRTC_TARGET_CPU - x86, x64, arm, arm64 or mipsel
|
|
|
|
# WebRTC version number (branch head)
|
|
set(WEBRTC_VERSION "@WEBRTC_VERSION@")
|
|
|
|
# LibWebRTC library type, target OS and target CPU
|
|
set(LIBWEBRTC_TARGET_OS "@TARGET_OS@")
|
|
set(LIBWEBRTC_TARGET_CPU "@TARGET_CPU@")
|
|
|
|
# Set the expected libraries variable
|
|
set(LIBWEBRTC_LIBRARIES @LIBWEBRTC_LIBRARIES@)
|
|
|
|
# The C and C++ flags added by LibWebRTC to the cmake-configured flags.
|
|
set(LIBWEBRTC_REQUIRED_C_FLAGS "@LIBWEBRTC_REQUIRED_C_FLAGS@")
|
|
set(LIBWEBRTC_REQUIRED_CXX_FLAGS "@LIBWEBRTC_REQUIRED_CXX_FLAGS@")
|
|
set(LIBWEBRTC_REQUIRED_C_FLAGS_DEBUG "@LIBWEBRTC_REQUIRED_C_FLAGS_DEBUG@")
|
|
set(LIBWEBRTC_REQUIRED_C_FLAGS_RELEASE "@LIBWEBRTC_REQUIRED_C_FLAGS_RELEASE@")
|
|
set(LIBWEBRTC_REQUIRED_CXX_FLAGS_DEBUG "@LIBWEBRTC_REQUIRED_CXX_FLAGS_DEBUG@")
|
|
set(LIBWEBRTC_REQUIRED_CXX_FLAGS_RELEASE "@LIBWEBRTC_REQUIRED_CXX_FLAGS_RELEASE@")
|
|
set(LIBWEBRTC_REQUIRED_STATIC_LINKER_FLAGS "@LIBWEBRTC_REQUIRED_STATIC_LINKER_FLAGS@")
|
|
set(LIBWEBRTC_DEFINITIONS_DEBUG "@LIBWEBRTC_DEFINITIONS_DEBUG@")
|
|
set(LIBWEBRTC_DEFINITIONS_RELEASE "@LIBWEBRTC_DEFINITIONS_RELEASE@")
|
|
|
|
# The location of the UseLibWebRTC.cmake file.
|
|
set(LIBWEBRTC_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}")
|
|
set(LIBWEBRTC_USE_FILE "${LIBWEBRTC_CMAKE_DIR}/UseLibWebRTC.cmake")
|
|
|
|
# Import LibWebRTC targets.
|
|
include("${LIBWEBRTC_CMAKE_DIR}/LibWebRTCTargets.cmake")
|