diff options
author | Armin Weatherwax | 2011-05-17 12:51:04 +0200 |
---|---|---|
committer | Jacek Antonelli | 2011-05-17 17:43:21 -0500 |
commit | aeeaabf84da0e10e6173aa10cb273e8b199cf9d1 (patch) | |
tree | 914de8b6102a2c1fdd6f954924292804f9da7b31 /linden/indra/cmake/Audio.cmake | |
parent | also link with ld.gold (diff) | |
download | meta-impy-aeeaabf84da0e10e6173aa10cb273e8b199cf9d1.zip meta-impy-aeeaabf84da0e10e6173aa10cb273e8b199cf9d1.tar.gz meta-impy-aeeaabf84da0e10e6173aa10cb273e8b199cf9d1.tar.bz2 meta-impy-aeeaabf84da0e10e6173aa10cb273e8b199cf9d1.tar.xz |
Linux64 fix linking and packaging of the new ogg/vorbis libs
Diffstat (limited to 'linden/indra/cmake/Audio.cmake')
-rw-r--r-- | linden/indra/cmake/Audio.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/linden/indra/cmake/Audio.cmake b/linden/indra/cmake/Audio.cmake index d23bc2f..10d11bb 100644 --- a/linden/indra/cmake/Audio.cmake +++ b/linden/indra/cmake/Audio.cmake | |||
@@ -32,6 +32,12 @@ else (STANDALONE) | |||
32 | set(VORBISENC_LIBRARIES vorbisenc) | 32 | set(VORBISENC_LIBRARIES vorbisenc) |
33 | set(VORBISFILE_LIBRARIES vorbisfile) | 33 | set(VORBISFILE_LIBRARIES vorbisfile) |
34 | endif (WINDOWS) | 34 | endif (WINDOWS) |
35 | if(LINUX AND ${ARCH} STREQUAL "x86_64") | ||
36 | set(VORBIS_LIBRARY_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib) | ||
37 | set(VORBISENC_LIBRARY_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib) | ||
38 | set(VORBISFILE_LIBRARY_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib) | ||
39 | set(OGG_LIBRARY_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib) | ||
40 | endif(LINUX AND ${ARCH} STREQUAL "x86_64") | ||
35 | endif (STANDALONE) | 41 | endif (STANDALONE) |
36 | 42 | ||
37 | link_directories( | 43 | link_directories( |
@@ -40,3 +46,13 @@ link_directories( | |||
40 | ${VORBISFILE_LIBRARY_DIRS} | 46 | ${VORBISFILE_LIBRARY_DIRS} |
41 | ${OGG_LIBRARY_DIRS} | 47 | ${OGG_LIBRARY_DIRS} |
42 | ) | 48 | ) |
49 | |||
50 | if(NOT vorbis_link_msg) | ||
51 | set(vorbis_link_msg ON CACHE BOOL "ogg vorbis linked from:\n") | ||
52 | message("ogg vorbis linked from:\n" | ||
53 | ${VORBIS_LIBRARY_DIRS} "\n" | ||
54 | ${VORBISENC_LIBRARY_DIRS} "\n" | ||
55 | ${VORBISFILE_LIBRARY_DIRS} "\n" | ||
56 | ${OGG_LIBRARY_DIRS} "\n" | ||
57 | ) | ||
58 | endif(NOT vorbis_link_msg) | ||