summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorIma Mechanique <ima.mechanique@secondlife.com>2013-10-18 17:38:31 +0100
committerIma Mechanique <ima.mechanique@secondlife.com>2013-10-18 17:38:31 +0100
commit4027486dbbe18c644eb679a49259ce201a5f9f59 (patch)
treefe825f51fdd5a08e576ed9244ad95ed3ec4a05b0 /indra/cmake
parent92f1f7a525c3a550575050ca00b10924fdf4dce1 (diff)
storm-1831 Incorporating Oz's changes to update libxml on linux to libxml2
Diffstat (limited to 'indra/cmake')
-rwxr-xr-xindra/cmake/GStreamer010Plugin.cmake4
-rwxr-xr-xindra/cmake/LLPrimitive.cmake15
2 files changed, 14 insertions, 5 deletions
diff --git a/indra/cmake/GStreamer010Plugin.cmake b/indra/cmake/GStreamer010Plugin.cmake
index d2d0699bcd..d1c99d5409 100755
--- a/indra/cmake/GStreamer010Plugin.cmake
+++ b/indra/cmake/GStreamer010Plugin.cmake
@@ -8,8 +8,8 @@ if (STANDALONE)
pkg_check_modules(GSTREAMER010_PLUGINS_BASE REQUIRED gstreamer-plugins-base-0.10)
elseif (LINUX)
use_prebuilt_binary(gstreamer)
- # possible libxml should have its own .cmake file instead
- use_prebuilt_binary(libxml)
+ # possible libxml2 should have its own .cmake file instead
+ use_prebuilt_binary(libxml2)
set(GSTREAMER010_FOUND ON FORCE BOOL)
set(GSTREAMER010_PLUGINS_BASE_FOUND ON FORCE BOOL)
set(GSTREAMER010_INCLUDE_DIRS
diff --git a/indra/cmake/LLPrimitive.cmake b/indra/cmake/LLPrimitive.cmake
index 0d87ff579a..67c2115237 100755
--- a/indra/cmake/LLPrimitive.cmake
+++ b/indra/cmake/LLPrimitive.cmake
@@ -6,21 +6,30 @@ include(Boost)
use_prebuilt_binary(colladadom)
use_prebuilt_binary(pcre)
-use_prebuilt_binary(libxml)
set(LLPRIMITIVE_INCLUDE_DIRS
${LIBS_OPEN_DIR}/llprimitive
)
if (WINDOWS)
- set(LLPRIMITIVE_LIBRARIES
+ set(LLPRIMITIVE_LIBRARIES
debug llprimitive
optimized llprimitive
debug libcollada14dom22-d
optimized libcollada14dom22
${BOOST_SYSTEM_LIBRARIES}
)
+elseif (LINUX)
+ use_prebuilt_binary(libxml2)
+ set(LLPRIMITIVE_LIBRARIES
+ llprimitive
+ collada14dom
+ minizip
+ xml2
+ pcrecpp
+ pcre
+ )
else (WINDOWS)
- set(LLPRIMITIVE_LIBRARIES
+ set(LLPRIMITIVE_LIBRARIES
llprimitive
collada14dom
minizip