Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
c9dcc35a
Commit
c9dcc35a
authored
Feb 09, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Find live555.
parent
e5f79366
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
extras/buildsystem/cmake/include/FindLive555.cmake
extras/buildsystem/cmake/include/FindLive555.cmake
+46
-0
extras/buildsystem/cmake/include/config.cmake
extras/buildsystem/cmake/include/config.cmake
+7
-0
No files found.
extras/buildsystem/cmake/include/FindLive555.cmake
0 → 100644
View file @
c9dcc35a
# - Find library containing Live555()
# The following variables are set if Live555 is found. If Live555 is not
# found, Live555_FOUND is set to false.
# Live555_FOUND - System has Live555.
# Live555_LIBRARIES - Link these to use Live555.
# Live555_CFLAGS - Link these to use Live555.
if
(
NOT Live555_SEARCHED
)
include
(
CheckLibraryExists
)
set
(
Live555_SEARCHED TRUE CACHE INTERNAL
""
)
set
(
Live555_FOUND FALSE CACHE INTERNAL
""
)
pkg_check_modules
(
Live555 libLive555
)
if
(
NOT Live555_FOUND
)
set
(
Live555_LIBRARIES
""
)
foreach
(
library livemedia livemedia_pic
)
find_library
(
${
library
}
_LIBRARY
${
library
}
)
if
(
${
library
}
_LIBRARY
)
set
(
Live555_LIBRARIES
"
${
library
}
;
${
Live555_LIBRARIES
}
"
)
set
(
Live555_FOUND TRUE CACHE INTERNAL
""
)
endif
(
${
library
}
_LIBRARY
)
endforeach
(
library
)
foreach
(
library groupsock_pic groupsock BasicUsageEnvironment_pic BasicUsageEnvironment UsageEnvironment_pic UsageEnvironment
)
find_library
(
${
library
}
_LIBRARY
${
library
}
)
if
(
${
library
}
_LIBRARY
)
set
(
Live555_LIBRARIES
"
${
library
}
;
${
Live555_LIBRARIES
}
"
)
endif
(
${
library
}
_LIBRARY
)
endforeach
(
library
)
set
(
Live555_LIBRARIES
"
${
Live555_LIBRARIES
}
"
CACHE INTERNAL STRING
)
endif
(
NOT Live555_FOUND
)
if
(
Live555_FOUND
)
if
(
NOT Live555_FIND_QUIETLY
)
message
(
STATUS
"Found Live555 in:
${
Live555_LIBRARIES
}
"
)
endif
(
NOT Live555_FIND_QUIETLY
)
else
(
Live555_FOUND
)
if
(
Live555_FIND_REQUIRED
)
message
(
FATAL_ERROR
"Could not find the library containing Live555"
)
endif
(
Live555_FIND_REQUIRED
)
endif
(
Live555_FOUND
)
mark_as_advanced
(
Live555_LIBRARIES
)
endif
(
NOT Live555_SEARCHED
)
extras/buildsystem/cmake/include/config.cmake
View file @
c9dcc35a
...
...
@@ -460,6 +460,13 @@ if(Matroska_FOUND)
vlc_module_add_link_libraries
(
mkv
${
Matroska_LIBRARIES
}
)
endif
(
Matroska_FOUND
)
find_package
(
Live555 0.7.7
)
if
(
Live555_FOUND
)
vlc_enable_modules
(
live555
)
vlc_add_module_compile_flag
(
live555
${
Live555_CFLAGS
}
)
vlc_module_add_link_libraries
(
live555
${
Live555_LIBRARIES
}
)
endif
(
Live555_FOUND
)
set
(
CMAKE_REQUIRED_INCLUDES
)
###########################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment