mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 03:15:11 +00:00
Basic FindLibWebRTC CMake module
This commit is contained in:
parent
7e24da1642
commit
cf960ae303
1 changed files with 17 additions and 0 deletions
17
CMakeModules/FindLibWebRTC.cmake
Normal file
17
CMakeModules/FindLibWebRTC.cmake
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
find_path(
|
||||
LIBWEBRTC_INCLUDE_DIR typedefs.h
|
||||
HINTS
|
||||
ENV LIBWEBRTCDIR
|
||||
PATH_SUFFIXES webrtc
|
||||
include/webrtc include
|
||||
)
|
||||
|
||||
find_library(
|
||||
LIBWEBRTC_LIBRARY
|
||||
NAMES webrtc
|
||||
HINTS
|
||||
ENV LIBWEBRTCDIR
|
||||
PATH_SUFFIXES lib
|
||||
)
|
||||
|
||||
mark_as_advanced(LIBWEBRTC_LIBRARY LIBWEBRTC_INCLUDE_DIR)
|
||||
Loading…
Add table
Reference in a new issue