diff --git a/indra/cmake/WebKitLibPlugin.cmake b/indra/cmake/WebKitLibPlugin.cmake
index b599982afb732c3e1c0c0661199d08a795631211..0f5a81c0203e4b1c867ad30fa278d7c4e7118c9b 100644
--- a/indra/cmake/WebKitLibPlugin.cmake
+++ b/indra/cmake/WebKitLibPlugin.cmake
@@ -67,6 +67,8 @@ elseif (LINUX)
         QtNetwork
         QtGui
         QtCore
+        qgif
+        qjpeg
         jpeg
         fontconfig
         X11