summaryrefslogtreecommitdiff
path: root/indra/cmake/UI.cmake
blob: ee9554713619ef176bb5ee7efc284d0e583cfb54 (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
# -*- cmake -*-
include(Prebuilt)
include(FreeType)

if (LINUX)
  use_prebuilt_binary(gtk-atk-pango-glib)
endif (LINUX)

if (LINUX)
  set(UI_LIBRARIES
          atk-1.0
          gdk-x11-2.0
          gdk_pixbuf-2.0
          Xinerama
          glib-2.0
          gmodule-2.0
          gobject-2.0
          gthread-2.0
          gtk-x11-2.0
          pango-1.0
          pangoft2-1.0
          pangox-1.0
          pangoxft-1.0
          ${FREETYPE_LIBRARIES}
          )
endif (LINUX)

include_directories (
        ${LIBS_PREBUILT_DIR}/include
        ${LIBS_PREBUILT_DIR}/include
        )


# The following made no real sense
# - ${ARCH}_linux_INCLUDES was set in 00-Common.cmake,
# - Here ist is used, but as ${${LL_ARCH}_INCLUDES}
# It would make more sense to use one form ($LL_ARCH)
# Leave this out for the moment, but come back when looking at the Linux build

#set(${ARCH}_linux_INCLUDES
#        atk-1.0
#        glib-2.0
#        gstreamer-0.10
#        gtk-2.0
#        pango-1.0
#        )
#foreach(include ${${LL_ARCH}_INCLUDES})
#  set_target_include_dirs( ll::uilibraries
#          ${LIBS_PREBUILT_DIR}/include/${include}
#          )
#endforeach(include)

if (LINUX)
  add_definitions(-DLL_GTK=1 -DLL_X11=1)
endif (LINUX)