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
196dcb8c
Commit
196dcb8c
authored
Feb 09, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Enable auhal audio output on Mac OS X.
parent
dcb10ec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
extras/buildsystem/cmake/include/config.cmake
extras/buildsystem/cmake/include/config.cmake
+8
-3
No files found.
extras/buildsystem/cmake/include/config.cmake
View file @
196dcb8c
...
@@ -213,7 +213,7 @@ if(APPLE)
...
@@ -213,7 +213,7 @@ if(APPLE)
set
(
SYS_DARWIN 1
)
set
(
SYS_DARWIN 1
)
add_definitions
(
-std=gnu99
)
# Hack for obj-c files to be compiled with gnu99
add_definitions
(
-std=gnu99
)
# Hack for obj-c files to be compiled with gnu99
vlc_enable_modules
(
macosx minimal_macosx access_eyetv quartztext
)
vlc_enable_modules
(
macosx minimal_macosx access_eyetv quartztext
auhal
)
# On Pre-10.5
# On Pre-10.5
vlc_module_add_link_flags
(
ffmpeg
"-read_only_relocs warning"
)
vlc_module_add_link_flags
(
ffmpeg
"-read_only_relocs warning"
)
...
@@ -226,7 +226,8 @@ if(APPLE)
...
@@ -226,7 +226,8 @@ if(APPLE)
# check_symbol_exists (CFPreferencesCopyAppValue "CoreFoundation/CoreFoundation.h" "" HAVE_CFPREFERENCESCOPYAPPVALUE)
# check_symbol_exists (CFPreferencesCopyAppValue "CoreFoundation/CoreFoundation.h" "" HAVE_CFPREFERENCESCOPYAPPVALUE)
vlc_find_frameworks
(
Cocoa Carbon OpenGL AGL IOKit Quicktime
vlc_find_frameworks
(
Cocoa Carbon OpenGL AGL IOKit Quicktime
WebKit QuartzCore Foundation ApplicationServices
)
WebKit QuartzCore Foundation ApplicationServices
CoreAudio AudioUnit AudioToolbox
)
vlc_module_add_link_libraries
(
macosx
vlc_module_add_link_libraries
(
macosx
${
Cocoa_FRAMEWORKS
}
${
Cocoa_FRAMEWORKS
}
${
IOKit_FRAMEWORKS
}
${
IOKit_FRAMEWORKS
}
...
@@ -248,6 +249,11 @@ if(APPLE)
...
@@ -248,6 +249,11 @@ if(APPLE)
vlc_module_add_link_libraries
(
quartztext
vlc_module_add_link_libraries
(
quartztext
${
Carbon_FRAMEWORKS
}
${
Carbon_FRAMEWORKS
}
${
ApplicationServices_FRAMEWORKS
}
)
${
ApplicationServices_FRAMEWORKS
}
)
vlc_module_add_link_libraries
(
auhal
${
Carbon_FRAMEWORKS
}
${
CoreAudio_FRAMEWORKS
}
${
AudioUnit_FRAMEWORKS
}
${
AudioToolbox_FRAMEWORKS
}
)
vlc_module_add_link_libraries
(
mp4
${
IOKit_FRAMEWORKS
}
)
vlc_module_add_link_libraries
(
mp4
${
IOKit_FRAMEWORKS
}
)
vlc_module_add_link_libraries
(
mkv
${
IOKit_FRAMEWORKS
}
)
vlc_module_add_link_libraries
(
mkv
${
IOKit_FRAMEWORKS
}
)
...
@@ -473,4 +479,3 @@ set(CMAKE_REQUIRED_INCLUDES)
...
@@ -473,4 +479,3 @@ set(CMAKE_REQUIRED_INCLUDES)
# Final configuration
# Final configuration
###########################################################
###########################################################
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/config.h.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/include/config.h
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/config.h.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/include/config.h
)
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