Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
883ed8d4
Commit
883ed8d4
authored
Feb 08, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Add -read_only_relocs warning on ffmpeg for Pre-10.5.
parent
fd718416
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
extras/buildsystem/cmake/include/config.cmake
extras/buildsystem/cmake/include/config.cmake
+3
-0
extras/buildsystem/cmake/include/vlc_module_funcs.cmake
extras/buildsystem/cmake/include/vlc_module_funcs.cmake
+5
-0
No files found.
extras/buildsystem/cmake/include/config.cmake
View file @
883ed8d4
...
...
@@ -216,6 +216,9 @@ if(APPLE)
add_definitions
(
-std=gnu99
)
# Hack for obj-c files to be compiled with gnu99
vlc_enable_modules
(
macosx minimal_macosx access_eyetv quartztext
)
# On Pre-10.5
vlc_module_add_link_flags
(
ffmpeg
"-read_only_relocs warning"
)
vlc_check_include_files
(
ApplicationServices/ApplicationServices.h
)
vlc_check_include_files
(
Carbon/Carbon.h
)
vlc_check_include_files
(
CoreAudio/CoreAudio.h
)
...
...
extras/buildsystem/cmake/include/vlc_module_funcs.cmake
View file @
883ed8d4
...
...
@@ -8,6 +8,7 @@ MACRO(vlc_add_module module_name)
endif
(
NOT
${
ENABLE_NO_SYMBOL_CHECK
}
)
set_target_properties
(
${
module_name
}
_plugin PROPERTIES COMPILE_FLAGS
"-D__PLUGIN__ -DMODULE_NAME=
${
module_name
}
-DMODULE_NAME_IS_
${
module_name
}
-I
${
CMAKE_CURRENT_SOURCE_DIR
}
${
VLC_
${
module_name
}
_COMPILE_FLAG
}
"
)
set_target_properties
(
${
module_name
}
_plugin PROPERTIES LINK_FLAGS
"
${
VLC_
${
module_name
}
_LINK_FLAGS
}
"
)
if
(
VLC_
${
module_name
}
_LINK_LIBRARIES
)
target_link_libraries
(
${
module_name
}
_plugin
${
VLC_
${
module_name
}
_LINK_LIBRARIES
}
)
endif
(
VLC_
${
module_name
}
_LINK_LIBRARIES
)
...
...
@@ -42,6 +43,10 @@ MACRO(vlc_set_module_properties module_name)
set_target_properties
(
${
module_name
}
_plugin
${
ARGN
}
)
ENDMACRO
(
vlc_set_module_properties
)
MACRO
(
vlc_module_add_link_flags module_name
)
set
(
VLC_
${
module_name
}
_LINK_FLAGS
${
VLC_
${
module_name
}
_LINK_FLAGS
}
${
ARGN
}
)
ENDMACRO
(
vlc_module_add_link_flags
)
MACRO
(
vlc_module_add_link_libraries module_name
)
set
(
VLC_
${
module_name
}
_LINK_LIBRARIES
${
VLC_
${
module_name
}
_LINK_LIBRARIES
}
${
ARGN
}
)
ENDMACRO
(
vlc_module_add_link_libraries
)
...
...
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