summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/PlatformQt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/PlatformQt.cmake')
-rw-r--r--Source/WebKit2/PlatformQt.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/WebKit2/PlatformQt.cmake b/Source/WebKit2/PlatformQt.cmake
index 9dac25f68..c3776fc4f 100644
--- a/Source/WebKit2/PlatformQt.cmake
+++ b/Source/WebKit2/PlatformQt.cmake
@@ -210,7 +210,7 @@ qt5_add_resources(WebKit2_SOURCES
WebKit2.qrc
)
-if (APPLE)
+if (USE_MACH_PORTS)
list(APPEND WebKit2_INCLUDE_DIRECTORIES
"${WEBKIT2_DIR}/Platform/IPC/mac"
"${WEBKIT2_DIR}/Platform/mac"
@@ -221,6 +221,9 @@ if (APPLE)
Platform/mac/MachUtilities.cpp
Platform/mac/SharedMemoryMac.cpp
)
+ list(APPEND WebKit2_LIBRARIES
+ objc
+ )
elseif (WIN32)
list(APPEND WebKit2_SOURCES
Platform/IPC/win/ConnectionWin.cpp