Mac CMake build fix.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 Mar 2016 01:05:12 +0000 (01:05 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 Mar 2016 01:05:12 +0000 (01:05 +0000)
* PlatformMac.cmake:
Link with AVFoundation libraries.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198722 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/PlatformMac.cmake

index 731e044..275ae06 100644 (file)
@@ -1,3 +1,10 @@
+2016-03-26  Alex Christensen  <achristensen@webkit.org>
+
+        Mac CMake build fix.
+
+        * PlatformMac.cmake:
+        Link with AVFoundation libraries.
+
 2016-03-25  Dean Jackson  <dino@apple.com>
 
         Move extended color detection into Open Source
index 0b83972..814da73 100644 (file)
@@ -10,6 +10,7 @@ endif ()
 link_directories(../../WebKitLibraries)
 
 find_library(ACCELERATE_LIBRARY accelerate)
+find_library(AVFOUNDATION_LIBRARY AVFoundation)
 find_library(AUDIOTOOLBOX_LIBRARY AudioToolbox)
 find_library(AUDIOUNIT_LIBRARY AudioUnit)
 find_library(CARBON_LIBRARY Carbon)
@@ -31,6 +32,7 @@ list(APPEND WebCore_LIBRARIES
     ${ACCELERATE_LIBRARY}
     ${AUDIOTOOLBOX_LIBRARY}
     ${AUDIOUNIT_LIBRARY}
+    ${AVFOUNDATION_LIBRARY}
     ${CARBON_LIBRARY}
     ${COCOA_LIBRARY}
     ${COREAUDIO_LIBRARY}
@@ -49,6 +51,7 @@ list(APPEND WebCore_LIBRARIES
 )
 
 add_definitions(-iframework ${QUARTZ_LIBRARY}/Frameworks)
+add_definitions(-iframework ${AVFOUNDATION_LIBRARY}/Versions/Current/Frameworks)
 
 find_library(DATADETECTORSCORE_FRAMEWORK DataDetectorsCore HINTS /System/Library/PrivateFrameworks)
 if (NOT DATADETECTORSCORE_FRAMEWORK-NOTFOUND)