summaryrefslogtreecommitdiffstats
path: root/Source/WTF/wtf/PlatformQt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WTF/wtf/PlatformQt.cmake')
-rw-r--r--Source/WTF/wtf/PlatformQt.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/WTF/wtf/PlatformQt.cmake b/Source/WTF/wtf/PlatformQt.cmake
index 42f4e86ff..a85dc6abe 100644
--- a/Source/WTF/wtf/PlatformQt.cmake
+++ b/Source/WTF/wtf/PlatformQt.cmake
@@ -15,12 +15,24 @@ list(APPEND WTF_LIBRARIES
${CMAKE_THREAD_LIBS_INIT}
)
+if (SHARED_CORE)
+ set(WTF_LIBRARY_TYPE SHARED)
+else ()
+ set(WTF_LIBRARY_TYPE STATIC)
+endif ()
+
if (QT_STATIC_BUILD)
list(APPEND WTF_LIBRARIES
${STATIC_LIB_DEPENDENCIES}
)
endif ()
+if (UNIX AND NOT APPLE)
+ list(APPEND WTF_SOURCES
+ UniStdExtras.cpp
+ )
+endif ()
+
if (USE_GLIB)
list(APPEND WTF_SOURCES
glib/GRefPtr.cpp