aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/cmake/GStreamer.cmake15
-rw-r--r--linden/indra/cmake/UI.cmake7
2 files changed, 14 insertions, 8 deletions
diff --git a/linden/indra/cmake/GStreamer.cmake b/linden/indra/cmake/GStreamer.cmake
index 8bfad11..51e1550 100644
--- a/linden/indra/cmake/GStreamer.cmake
+++ b/linden/indra/cmake/GStreamer.cmake
@@ -1,18 +1,19 @@
1# -*- cmake -*- 1# -*- cmake -*-
2include(Prebuilt) 2include(Prebuilt)
3 3
4 # possible libxml should have its own .cmake file instead 4 # Maybe libxml and glib should have their own .cmake files
5 use_prebuilt_binary(libxml) 5 use_prebuilt_binary(libxml)
6 use_prebuilt_binary(glib)
7
6 set(GSTREAMER_FOUND ON FORCE BOOL) 8 set(GSTREAMER_FOUND ON FORCE BOOL)
7 set(GSTREAMER_PLUGINS_BASE_FOUND ON FORCE BOOL) 9 set(GSTREAMER_PLUGINS_BASE_FOUND ON FORCE BOOL)
10
8 use_prebuilt_binary(gstreamer) 11 use_prebuilt_binary(gstreamer)
12 use_prebuilt_binary(gstreamer-plugins)
9 13
10if (WINDOWS) 14if (WINDOWS)
11 15
12 use_prebuilt_binary(libxml)
13 use_prebuilt_binary(iconv) 16 use_prebuilt_binary(iconv)
14 use_prebuilt_binary(glib)
15 use_prebuilt_binary(gstreamer-plugins)
16 set(GSTREAMER_FOUND ON FORCE BOOL) 17 set(GSTREAMER_FOUND ON FORCE BOOL)
17 set(GSTREAMER_INCLUDE_DIRS 18 set(GSTREAMER_INCLUDE_DIRS
18 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib 19 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib
@@ -63,7 +64,7 @@ else (WINDOWS)
63 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2 64 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2
64 ) 65 )
65 66
66 if (DARWIN) 67 if (DARWIN) # Mac
67 68
68 find_library( XML2_LIB 69 find_library( XML2_LIB
69 NAMES xml2.2 70 NAMES xml2.2
@@ -89,7 +90,9 @@ else (WINDOWS)
89 ${XML2_LIB} 90 ${XML2_LIB}
90 ) 91 )
91 92
92 else (DARWIN) 93 else (DARWIN) # Linux
94
95 use_prebuilt_binary(theora)
93 96
94 set(GSTREAMER_LIBRARIES 97 set(GSTREAMER_LIBRARIES
95 gstvideo-0.10 98 gstvideo-0.10
diff --git a/linden/indra/cmake/UI.cmake b/linden/indra/cmake/UI.cmake
index f529f5b..b70a531 100644
--- a/linden/indra/cmake/UI.cmake
+++ b/linden/indra/cmake/UI.cmake
@@ -31,13 +31,13 @@ if (STANDALONE)
31 add_definitions(${${pkg}_CFLAGS_OTHERS}) 31 add_definitions(${${pkg}_CFLAGS_OTHERS})
32 endforeach(pkg) 32 endforeach(pkg)
33else (STANDALONE) 33else (STANDALONE)
34 use_prebuilt_binary(gtk-atk-pango-glib) 34 use_prebuilt_binary(gtk-etc)
35 if (LINUX) 35 if (LINUX)
36 set(UI_LIBRARIES 36 set(UI_LIBRARIES
37 atk-1.0 37 atk-1.0
38 cairo
38 gdk-x11-2.0 39 gdk-x11-2.0
39 gdk_pixbuf-2.0 40 gdk_pixbuf-2.0
40 Xinerama
41 glib-2.0 41 glib-2.0
42 gmodule-2.0 42 gmodule-2.0
43 gobject-2.0 43 gobject-2.0
@@ -47,11 +47,14 @@ else (STANDALONE)
47 pangoft2-1.0 47 pangoft2-1.0
48 pangox-1.0 48 pangox-1.0
49 pangoxft-1.0 49 pangoxft-1.0
50 pixman-1
50 ) 51 )
51 endif (LINUX) 52 endif (LINUX)
52 53
53 include_directories ( 54 include_directories (
54 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include 55 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include
56 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/cairo
57 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/pixman-1
55 ${LIBS_PREBUILT_DIR}/include 58 ${LIBS_PREBUILT_DIR}/include
56 ) 59 )
57 foreach(include ${${LL_ARCH}_INCLUDES}) 60 foreach(include ${${LL_ARCH}_INCLUDES})