diff options
author | Bryan O'Sullivan <bos@lindenlab.com> | 2008-08-29 21:26:27 +0000 |
---|---|---|
committer | Bryan O'Sullivan <bos@lindenlab.com> | 2008-08-29 21:26:27 +0000 |
commit | eb65aca9f8aaa1ce67a221dcfecce240f1bb59a5 (patch) | |
tree | 1bf447844072f6e3813613e295d74ec9aeee7fa7 /indra | |
parent | 8279f93f4dbaa918bdfca54c96023080055d84e9 (diff) |
Use target_link_libraries for llaudio
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/LLAudio.cmake | 8 | ||||
-rw-r--r-- | indra/llaudio/CMakeLists.txt | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/indra/cmake/LLAudio.cmake b/indra/cmake/LLAudio.cmake index 7b9f2544dd..eff643d381 100644 --- a/indra/cmake/LLAudio.cmake +++ b/indra/cmake/LLAudio.cmake @@ -6,10 +6,4 @@ set(LLAUDIO_INCLUDE_DIRS ${LIBS_OPEN_DIR}/llaudio ) -set(LLAUDIO_LIBRARIES - llaudio - ${VORBISENC_LIBRARIES} - ${VORBISFILE_LIBRARIES} - ${VORBIS_LIBRARIES} - ${OGG_LIBRARIES} - ) +set(LLAUDIO_LIBRARIES llaudio) diff --git a/indra/llaudio/CMakeLists.txt b/indra/llaudio/CMakeLists.txt index b662023348..ebedcab4bf 100644 --- a/indra/llaudio/CMakeLists.txt +++ b/indra/llaudio/CMakeLists.txt @@ -65,3 +65,10 @@ set_source_files_properties(${llaudio_HEADER_FILES} list(APPEND llaudio_SOURCE_FILES ${llaudio_HEADER_FILES}) add_library (llaudio ${llaudio_SOURCE_FILES}) +target_link_libraries( + llaudio + ${VORBISENC_LIBRARIES} + ${VORBISFILE_LIBRARIES} + ${VORBIS_LIBRARIES} + ${OGG_LIBRARIES} + ) |