mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 01:20:17 +00:00
Do not link with QuickTime and audio frameworks on OS X
This commit is contained in:
parent
8986fe129f
commit
65105f33da
@ -271,22 +271,12 @@ if(APPLE)
|
||||
find_library(COCOA_LIBRARY Cocoa)
|
||||
find_library(CARBON_LIBRARY Carbon)
|
||||
find_library(IOKIT_LIBRARY IOKit)
|
||||
find_library(COREAUDIO_LIBRARY CoreAudio)
|
||||
find_library(AUDIOUNIT_LIBRARY AudioUnit)
|
||||
find_library(AUDIOTOOLBOX_LIBRARY AudioToolbox)
|
||||
find_package(QuickTime)
|
||||
mark_as_advanced(COCOA_LIBRARY CARBON_LIBRARY IOKIT_LIBRARY)
|
||||
mark_as_advanced(COREAUDIO_LIBRARY AUDIOUNIT_LIBRARY AUDIOTOOLBOX_LIBRARY)
|
||||
mark_as_advanced(QUICKTIME_INCLUDE_DIR QUICKTIME_LIBRARY)
|
||||
|
||||
list(APPEND PLATFORM_LIBS
|
||||
${COCOA_LIBRARY}
|
||||
${CARBON_LIBRARY}
|
||||
${IOKIT_LIBRARY}
|
||||
${COREAUDIO_LIBRARY}
|
||||
${AUDIOUNIT_LIBRARY}
|
||||
${AUDIOTOOLBOX_LIBRARY}
|
||||
${QUICKTIME_LIBRARY})
|
||||
${IOKIT_LIBRARY})
|
||||
|
||||
# Hack to deal with Mac OS X 10.6. NSQuickDrawView is not defined by
|
||||
# NSQuickDrawView.h when compiling in 64-bit mode, and 64-bit mode is the
|
||||
|
@ -39,10 +39,6 @@
|
||||
#import <AppKit/AppKit.h>
|
||||
#import <ApplicationServices/ApplicationServices.h>
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <CoreAudio/CoreAudio.h>
|
||||
#import <AudioUnit/AudioUnit.h>
|
||||
#import <AudioToolbox/AudioToolbox.h>
|
||||
#import <QuickTime/QuickTime.h>
|
||||
#import <IOKit/IOKitLib.h>
|
||||
#import <IOKit/IOCFPlugIn.h>
|
||||
#import <IOKit/hid/IOHIDLib.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user