diff options
author | Armin Weatherwax | 2010-02-27 17:41:47 +0100 |
---|---|---|
committer | Jacek Antonelli | 2010-02-27 13:24:32 -0600 |
commit | 30945b74c3cb64bb11fdb09116c8c8e6e15c94e7 (patch) | |
tree | fb12e3ff2f5209372ea137ea9d1a26547fc32408 /linden/indra/cmake | |
parent | Updated llprimitive/llprimitive.cpp to SL 1.23. (diff) | |
download | meta-impy-30945b74c3cb64bb11fdb09116c8c8e6e15c94e7.zip meta-impy-30945b74c3cb64bb11fdb09116c8c8e6e15c94e7.tar.gz meta-impy-30945b74c3cb64bb11fdb09116c8c8e6e15c94e7.tar.bz2 meta-impy-30945b74c3cb64bb11fdb09116c8c8e6e15c94e7.tar.xz |
Some changes to help linux64.
* Don't build with libELFIO (lib not working).
* Use shared libpng12 instead of static library
(fixes mozlib incompat for users with system libpng14).
Diffstat (limited to 'linden/indra/cmake')
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 31 | ||||
-rw-r--r-- | linden/indra/cmake/ELFIO.cmake | 12 |
2 files changed, 30 insertions, 13 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index 355ce45..fdfd587 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -212,15 +212,28 @@ if (STANDALONE) | |||
212 | add_definitions(-march=pentiumpro) | 212 | add_definitions(-march=pentiumpro) |
213 | endif (LINUX AND ${ARCH} STREQUAL "i686") | 213 | endif (LINUX AND ${ARCH} STREQUAL "i686") |
214 | 214 | ||
215 | else (STANDALONE) | 215 | else (STANDALONE) |
216 | set(${ARCH}_linux_INCLUDES | 216 | if (${ARCH} STREQUAL "i686") |
217 | ELFIO | 217 | set(${ARCH}_linux_INCLUDES |
218 | atk-1.0 | 218 | ELFIO |
219 | glib-2.0 | 219 | atk-1.0 |
220 | gstreamer-0.10 | 220 | glib-2.0 |
221 | gtk-2.0 | 221 | gstreamer-0.10 |
222 | pango-1.0 | 222 | gtk-2.0 |
223 | ) | 223 | pango-1.0 |
224 | ) | ||
225 | else(${ARCH} STREQUAL "i686") | ||
226 | if (${ARCH} STREQUAL "x86_64") | ||
227 | set(${ARCH}_linux_INCLUDES | ||
228 | atk-1.0 | ||
229 | glib-2.0 | ||
230 | gstreamer-0.10 | ||
231 | gtk-2.0 | ||
232 | pango-1.0 | ||
233 | ) | ||
234 | endif (${ARCH} STREQUAL "x86_64") | ||
235 | endif (${ARCH} STREQUAL "i686") | ||
236 | |||
224 | endif (STANDALONE) | 237 | endif (STANDALONE) |
225 | 238 | ||
226 | if(SERVER) | 239 | if(SERVER) |
diff --git a/linden/indra/cmake/ELFIO.cmake b/linden/indra/cmake/ELFIO.cmake index e51993b..4f19ecd 100644 --- a/linden/indra/cmake/ELFIO.cmake +++ b/linden/indra/cmake/ELFIO.cmake | |||
@@ -6,10 +6,14 @@ set(ELFIO_FIND_QUIETLY ON) | |||
6 | if (STANDALONE) | 6 | if (STANDALONE) |
7 | include(FindELFIO) | 7 | include(FindELFIO) |
8 | elseif (LINUX) | 8 | elseif (LINUX) |
9 | use_prebuilt_binary(elfio) | 9 | if (${ARCH} STREQUAL "x86_64") |
10 | set(ELFIO_LIBRARIES ELFIO) | 10 | set(ELFIO_FOUND "NO") |
11 | set(ELFIO_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include) | 11 | else (${ARCH} STREQUAL "x86_64") |
12 | set(ELFIO_FOUND "YES") | 12 | use_prebuilt_binary(elfio) |
13 | set(ELFIO_LIBRARIES ELFIO) | ||
14 | set(ELFIO_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include) | ||
15 | set(ELFIO_FOUND "YES") | ||
16 | endif (${ARCH} STREQUAL "x86_64") | ||
13 | endif (STANDALONE) | 17 | endif (STANDALONE) |
14 | 18 | ||
15 | if (ELFIO_FOUND) | 19 | if (ELFIO_FOUND) |