[GTK] [CMake] Add support for building WebKit2
[WebKit-https.git] / Tools / CMakeLists.txt
index d0527d4..5ce79a9 100644 (file)
@@ -1,4 +1,4 @@
-if (ENABLE_WEBKIT2)
+if (ENABLE_WEBKIT2 AND NOT("${PORT}" STREQUAL "GTK"))
     add_subdirectory(WebKitTestRunner)
 endif ()
 
@@ -15,6 +15,10 @@ if ("${PORT}" STREQUAL "Efl")
         add_subdirectory(MiniBrowser/efl)
     endif ()
     add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
+elseif ("${PORT}" STREQUAL "GTK")
+    if (ENABLE_WEBKIT2)
+        add_subdirectory(MiniBrowser/gtk)
+    endif ()
 elseif ("${PORT}" STREQUAL "WinCE")
     add_subdirectory(WinCELauncher)
 endif ()