summaryrefslogtreecommitdiff
path: root/indra/cmake/WebKitLibPlugin.cmake
blob: 12ba1b1b35b8f95f43f194c7fb3a35a0d12fb64f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- cmake -*-
include(Linking)
include(Prebuilt)

if (STANDALONE)
  set(WEBKITLIBPLUGIN OFF CACHE BOOL
      "WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.")
else (STANDALONE)
  use_prebuilt_binary(llqtwebkit)
  set(WEBKITLIBPLUGIN ON CACHE BOOL
      "WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.")
endif (STANDALONE)

if (WINDOWS)
  set(WEBKIT_PLUGIN_LIBRARIES
      debug llqtwebkitd
      debug QtWebKitd4
      debug QtOpenGLd4
      debug QtNetworkd4
      debug QtGuid4
      debug QtCored4
      debug qtmaind
      optimized llqtwebkit
      optimized QtWebKit4
      optimized QtOpenGL4
      optimized QtNetwork4
      optimized QtGui4
      optimized QtCore4
      optimized qtmain
      )
elseif (DARWIN)
  set(WEBKIT_PLUGIN_LIBRARIES
      optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libllqtwebkit.dylib
      debug ${ARCH_PREBUILT_DIRS_RELEASE}/libllqtwebkit.dylib
      )
elseif (LINUX)
  if (STANDALONE) 
    set(WEBKIT_PLUGIN_LIBRARIES llqtwebkit)
  else (STANDALONE)
    set(WEBKIT_PLUGIN_LIBRARIES
        llqtwebkit

        qgif
        qjpeg

        QtWebKit
        QtOpenGL
        QtNetwork
        QtGui
        QtCore

        jpeg
        fontconfig
        X11
        Xrender
        GL
        )
  endif (STANDALONE)
endif (WINDOWS)