aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-02-10 08:22:14 -0700
committerMcCabe Maxsted2011-02-10 08:22:14 -0700
commitc2696d1910ec63824c1ae7a7429dcc61451e1081 (patch)
tree4760db2b10ec41354b4961977ba49294f62a5fdd /linden/indra
parentUpdated windows version of boost to the 1.39 version used in Snowglobe 1.5. N... (diff)
downloadmeta-impy-c2696d1910ec63824c1ae7a7429dcc61451e1081.zip
meta-impy-c2696d1910ec63824c1ae7a7429dcc61451e1081.tar.gz
meta-impy-c2696d1910ec63824c1ae7a7429dcc61451e1081.tar.bz2
meta-impy-c2696d1910ec63824c1ae7a7429dcc61451e1081.tar.xz
Make media_plugin_gstreamer010 find all its headers correctly on Windows (notes: need to add archives for iconv and gstreamer to install.xml, doesn't link yet)
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/cmake/GStreamer010Plugin.cmake18
-rwxr-xr-xlinden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h2
2 files changed, 14 insertions, 6 deletions
diff --git a/linden/indra/cmake/GStreamer010Plugin.cmake b/linden/indra/cmake/GStreamer010Plugin.cmake
index 90ed35c..f3bd9d7 100644
--- a/linden/indra/cmake/GStreamer010Plugin.cmake
+++ b/linden/indra/cmake/GStreamer010Plugin.cmake
@@ -15,11 +15,19 @@ else (STANDALONE)
15 use_prebuilt_binary(gstreamer) 15 use_prebuilt_binary(gstreamer)
16 set(GSTREAMER010_FOUND ON FORCE BOOL) 16 set(GSTREAMER010_FOUND ON FORCE BOOL)
17 set(GSTREAMER010_PLUGINS_BASE_FOUND ON FORCE BOOL) 17 set(GSTREAMER010_PLUGINS_BASE_FOUND ON FORCE BOOL)
18 set(GSTREAMER010_INCLUDE_DIRS 18 if (WINDOWS)
19 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/gstreamer-0.10 19 set(GSTREAMER010_INCLUDE_DIRS
20 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib-2.0 20 ${LIBS_PREBUILT_DIR}/include/gstreamer-0.10
21 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2 21 ${LIBS_PREBUILT_DIR}/include/glib
22 ) 22 ${LIBS_PREBUILT_DIR}/include/libxml2
23 )
24 else (WINDOWS)
25 set(GSTREAMER010_INCLUDE_DIRS
26 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/gstreamer-0.10
27 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib-2.0
28 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2
29 )
30 endif (WINDOWS)
23 31
24endif (STANDALONE) 32endif (STANDALONE)
25 33
diff --git a/linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h b/linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h
index bb90aa1..7917232 100755
--- a/linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h
+++ b/linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h
@@ -41,7 +41,7 @@
41///////////////////////////////////////////////////////////////////////// 41/////////////////////////////////////////////////////////////////////////
42// Debug/Info/Warning macros. 42// Debug/Info/Warning macros.
43#if LL_WINDOWS 43#if LL_WINDOWS
44#include <process.h> 44#include <windows.h>
45#define LL_GETPID GetCurrentProcessId 45#define LL_GETPID GetCurrentProcessId
46#else 46#else
47#include <sys/types.h> 47#include <sys/types.h>