File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ # FindFastoTvProtocol.cmake - Try to find the player library
2
+ # Once done this will define
3
+ #
4
+ # FASTOTV_PROTOCOL_FOUND - System has player
5
+ # FASTOTV_PROTOCOL_INCLUDE_DIR - The player include directory
6
+ # FASTOTV_PROTOCOL_LIBRARIES - The libraries needed to use player
7
+
8
+ FIND_PATH (FASTOTV_PROTOCOL_INCLUDE_DIRS NAMES fastotv/config.h
9
+ HINTS /usr /usr/local /opt PATH_SUFFIXES include
10
+ )
11
+
12
+ FIND_LIBRARY (FASTOTV_PROTOCOL_LIBRARY NAMES fastotv_protocol
13
+ HINTS /usr /usr/local /opt
14
+ )
15
+
16
+ SET (FASTOTV_PROTOCOL_LIBRARIES ${FASTOTV_PROTOCOL_LIBRARIES} ${FASTOTV_PROTOCOL_LIBRARY} )
17
+
18
+ INCLUDE (FindPackageHandleStandardArgs )
19
+ FIND_PACKAGE_HANDLE_STANDARD_ARGS (fastotv_protocol DEFAULT_MSG FASTOTV_PROTOCOL_LIBRARIES FASTOTV_PROTOCOL_INCLUDE_DIRS )
20
+ MARK_AS_ADVANCED (FASTOTV_PROTOCOL_INCLUDE_DIRS FASTOTV_PROTOCOL_LIBRARIES )
21
+
You can’t perform that action at this time.
0 commit comments