aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/cmake/GStreamer.cmake14
-rw-r--r--linden/indra/cmake/PNG.cmake6
2 files changed, 6 insertions, 14 deletions
diff --git a/linden/indra/cmake/GStreamer.cmake b/linden/indra/cmake/GStreamer.cmake
index 55a8f43..f5f9c03 100644
--- a/linden/indra/cmake/GStreamer.cmake
+++ b/linden/indra/cmake/GStreamer.cmake
@@ -71,18 +71,6 @@ else (WINDOWS)
71 use_prebuilt_binary(neon) 71 use_prebuilt_binary(neon)
72 use_prebuilt_binary(theora) 72 use_prebuilt_binary(theora)
73 73
74 find_library( XML2_LIB
75 NAMES xml2.2
76 PATHS ${ARCH_PREBUILT_DIRS_RELEASE}
77 NO_DEFAULT_PATH
78 DOC "libxml2 dynamic library / shared object" )
79
80 if (NOT XML2_LIB)
81 message(FATAL_ERROR "libxml2 not found!")
82 else (NOT XML2_LIB)
83 #message(STATUS "libxml2 found: ${XML2_LIB}")
84 endif (NOT XML2_LIB)
85
86 set(GSTREAMER_LIBRARIES 74 set(GSTREAMER_LIBRARIES
87 gstvideo-0.10 75 gstvideo-0.10
88 gstaudio-0.10 76 gstaudio-0.10
@@ -92,7 +80,7 @@ else (WINDOWS)
92 gmodule-2.0 80 gmodule-2.0
93 gthread-2.0 81 gthread-2.0
94 glib-2.0 82 glib-2.0
95 ${XML2_LIB} 83 xml2.2
96 ) 84 )
97 85
98 else (DARWIN) # Linux 86 else (DARWIN) # Linux
diff --git a/linden/indra/cmake/PNG.cmake b/linden/indra/cmake/PNG.cmake
index d08476d..23c3564 100644
--- a/linden/indra/cmake/PNG.cmake
+++ b/linden/indra/cmake/PNG.cmake
@@ -8,6 +8,10 @@ if (STANDALONE)
8 include(FindPNG) 8 include(FindPNG)
9else (STANDALONE) 9else (STANDALONE)
10 use_prebuilt_binary(libpng) 10 use_prebuilt_binary(libpng)
11 set(PNG_LIBRARIES png12) 11 if( DARWIN )
12 set(PNG_LIBRARIES png12.0)
13 else( DARWIN )
14 set(PNG_LIBRARIES png12)
15 endif (DARWIN)
12 set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include) 16 set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
13endif (STANDALONE) 17endif (STANDALONE)