View of /linden_release/linden/indra/cmake/Audio.cmake
Parent Directory
|
Revision Log
Revision 57 -
(download)
(annotate)
Wed Nov 19 00:33:37 2008 UTC (4 years, 6 months ago) by mjm
File size: 1002 byte(s)
Wed Nov 19 00:33:37 2008 UTC (4 years, 6 months ago) by mjm
File size: 1002 byte(s)
Importing Linden release 1.21.6 for merging future releases.
# -*- cmake -*-
include(Prebuilt)
if (STANDALONE)
include(FindPkgConfig)
pkg_check_modules(OGG REQUIRED ogg)
pkg_check_modules(VORBIS REQUIRED vorbis)
pkg_check_modules(VORBISENC REQUIRED vorbisenc)
pkg_check_modules(VORBISFILE REQUIRED vorbisfile)
else (STANDALONE)
use_prebuilt_binary(ogg-vorbis)
set(VORBIS_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
set(VORBISENC_INCLUDE_DIRS ${VORBIS_INCLUDE_DIRS})
set(VORBISFILE_INCLUDE_DIRS ${VORBIS_INCLUDE_DIRS})
if (WINDOWS)
set(OGG_LIBRARIES ogg_static_mt)
set(VORBIS_LIBRARIES vorbis_static_mt)
set(VORBISENC_LIBRARIES vorbisenc_static_mt)
set(VORBISFILE_LIBRARIES vorbisfile_static_mt)
else (WINDOWS)
set(OGG_LIBRARIES ogg)
set(VORBIS_LIBRARIES vorbis)
set(VORBISENC_LIBRARIES vorbisenc)
set(VORBISFILE_LIBRARIES vorbisfile)
endif (WINDOWS)
endif (STANDALONE)
link_directories(
${VORBIS_LIBRARY_DIRS}
${VORBISENC_LIBRARY_DIRS}
${VORBISFILE_LIBRARY_DIRS}
${OGG_LIBRARY_DIRS}
)
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

