Unreviewed attempt to fix Mac cmake build
authorannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Jul 2017 21:57:17 +0000 (21:57 +0000)
committerannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Jul 2017 21:57:17 +0000 (21:57 +0000)
* PlatformMac.cmake:

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

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

index 43f06e6..d02cd80 100644 (file)
@@ -1,3 +1,9 @@
+2017-07-24  Konstantin Tokarev  <annulen@yandex.ru>
+
+        Unreviewed attempt to fix Mac cmake build
+
+        * PlatformMac.cmake:
+
 2017-07-24  Chris Dumez  <cdumez@apple.com>
 
         Make ExceptionCode a proper enumeration
index 811d45d..28430cf 100644 (file)
@@ -1,9 +1,9 @@
 if ("${CURRENT_OSX_VERSION}" MATCHES "10.9")
-    set(WEBKITSYSTEMINTERFACE_LIBRARY ../../WebKitLibraries/libWebKitSystemInterfaceMavericks.a)
+    set(WEBKITSYSTEMINTERFACE_LIBRARY ${CMAKE_SOURCE_DIR}/WebKitLibraries/libWebKitSystemInterfaceMavericks.a)
 elseif ("${CURRENT_OSX_VERSION}" MATCHES "10.10")
-    set(WEBKITSYSTEMINTERFACE_LIBRARY ../../WebKitLibraries/libWebKitSystemInterfaceYosemite.a)
+    set(WEBKITSYSTEMINTERFACE_LIBRARY ${CMAKE_SOURCE_DIR}/WebKitLibraries/libWebKitSystemInterfaceYosemite.a)
 else ()
-    set(WEBKITSYSTEMINTERFACE_LIBRARY ../../WebKitLibraries/libWebKitSystemInterfaceElCapitan.a)
+    set(WEBKITSYSTEMINTERFACE_LIBRARY ${CMAKE_SOURCE_DIR}/WebKitLibraries/libWebKitSystemInterfaceElCapitan.a)
 endif ()
 
 find_library(ACCELERATE_LIBRARY accelerate)