diff options
author | McCabe Maxsted | 2011-02-10 08:22:14 -0700 |
---|---|---|
committer | McCabe Maxsted | 2011-02-10 08:22:14 -0700 |
commit | c2696d1910ec63824c1ae7a7429dcc61451e1081 (patch) | |
tree | 4760db2b10ec41354b4961977ba49294f62a5fdd /linden/indra | |
parent | Updated windows version of boost to the 1.39 version used in Snowglobe 1.5. N... (diff) | |
download | meta-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.cmake | 18 | ||||
-rwxr-xr-x | linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h | 2 |
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 | ||
24 | endif (STANDALONE) | 32 | endif (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> |