Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d93f3dd1
Commit
d93f3dd1
authored
Feb 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing libs. Not sure if this is the right way to do it though
parent
fe2b5120
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
+3
-1
extras/buildsystem/cmake/include/config.cmake
extras/buildsystem/cmake/include/config.cmake
+4
-1
No files found.
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
View file @
d93f3dd1
...
...
@@ -134,7 +134,8 @@ endif(SYS_DARWIN)
add_library(libvlc SHARED ${SOURCES_libvlc})
install_targets(/lib libvlc)
set_target_properties(libvlc PROPERTIES LINK_FLAGS "${LIBICONV}")
set_target_properties(libvlc PROPERTIES LINK_FLAGS
"-z defs --as-needed -lm ${LIBRT} ${LIBICONV} ${CMAKE_THREAD_LIBS_INIT}")
set_target_properties(libvlc PROPERTIES SOVERSION 1.0.0)
# libvlc-control
...
...
@@ -241,5 +242,6 @@ set(about)
# SET_TARGET_PROPERTIES
set_target_properties(libvlc libvlc-control PROPERTIES PREFIX "")
set_target_properties(libvlc-control PROPERTIES LINK_FLAGS "-z defs --as-needed")
set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
"-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes" )
extras/buildsystem/cmake/include/config.cmake
View file @
d93f3dd1
...
...
@@ -80,13 +80,16 @@ set(LIBICONV "")
vlc_check_functions_exist
(
iconv
)
if
(
NOT HAVE_ICONV
)
set
(
LIBICONV
"iconv"
)
set
(
LIBICONV
"
-l
iconv"
)
check_library_exists
(
iconv iconv
""
HAVE_ICONV
)
endif
(
NOT HAVE_ICONV
)
# FIXME: this will break on *BSD:
set
(
ICONV_CONST
""
)
check_library_exists
(
rt clock_nanosleep
""
HAVE_CLOCK_NANOSLEEP
)
if
(
HAVE_CLOCK_NANOSLEEP
)
set
(
LIBRT
"-lrt"
)
endif
(
HAVE_CLOCK_NANOSLEEP
)
###########################################################
# Other check
...
...
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