diff options
Diffstat (limited to 'linden/indra/cmake/GStreamer010Plugin.cmake')
-rw-r--r-- | linden/indra/cmake/GStreamer010Plugin.cmake | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/linden/indra/cmake/GStreamer010Plugin.cmake b/linden/indra/cmake/GStreamer010Plugin.cmake index 878d3c0..90ed35c 100644 --- a/linden/indra/cmake/GStreamer010Plugin.cmake +++ b/linden/indra/cmake/GStreamer010Plugin.cmake | |||
@@ -6,12 +6,13 @@ if (STANDALONE) | |||
6 | 6 | ||
7 | pkg_check_modules(GSTREAMER010 REQUIRED gstreamer-0.10) | 7 | pkg_check_modules(GSTREAMER010 REQUIRED gstreamer-0.10) |
8 | pkg_check_modules(GSTREAMER010_PLUGINS_BASE REQUIRED gstreamer-plugins-base-0.10) | 8 | pkg_check_modules(GSTREAMER010_PLUGINS_BASE REQUIRED gstreamer-plugins-base-0.10) |
9 | endif (STANDALONE) | ||
10 | 9 | ||
11 | if (LINUX) | 10 | else (STANDALONE) |
12 | use_prebuilt_binary(gstreamer) | 11 | |
13 | # possible libxml should have its own .cmake file instead | 12 | # Possibly libxml and glib should have their own .cmake file instead... |
13 | use_prebuilt_binary(glib) # gstreamer needs glib | ||
14 | use_prebuilt_binary(libxml) | 14 | use_prebuilt_binary(libxml) |
15 | use_prebuilt_binary(gstreamer) | ||
15 | set(GSTREAMER010_FOUND ON FORCE BOOL) | 16 | set(GSTREAMER010_FOUND ON FORCE BOOL) |
16 | set(GSTREAMER010_PLUGINS_BASE_FOUND ON FORCE BOOL) | 17 | set(GSTREAMER010_PLUGINS_BASE_FOUND ON FORCE BOOL) |
17 | set(GSTREAMER010_INCLUDE_DIRS | 18 | set(GSTREAMER010_INCLUDE_DIRS |
@@ -19,8 +20,9 @@ if (LINUX) | |||
19 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib-2.0 | 20 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib-2.0 |
20 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2 | 21 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2 |
21 | ) | 22 | ) |
22 | endif (LINUX) | 23 | |
23 | 24 | endif (STANDALONE) | |
25 | |||
24 | if (WINDOWS) | 26 | if (WINDOWS) |
25 | # We don't need to explicitly link against gstreamer itself, because | 27 | # We don't need to explicitly link against gstreamer itself, because |
26 | # LLMediaImplGStreamer probes for the system's copy at runtime. | 28 | # LLMediaImplGStreamer probes for the system's copy at runtime. |