diff options
author | Techwolf Lupindo <bitbucket.org@trap.wereanimal.net> | 2010-10-12 00:58:23 -0400 |
---|---|---|
committer | Techwolf Lupindo <bitbucket.org@trap.wereanimal.net> | 2010-10-12 00:58:23 -0400 |
commit | 5ec1ffe5a3192ce387c0482d8c216507cbff3f44 (patch) | |
tree | fbf921c66da1ba6232b6dc6f9c104f459a152076 /indra/cmake | |
parent | 54065ab2f9262cac67a5a3d00aed3f6348383bfc (diff) |
Allow the passing of addational fmod lib names via FMOD_NAMES from the build envorment. This will allow one to pass via command line custom fmod lib names. ie: -DFMOD_NAMES:STRING:"fmod-4.44"
Diffstat (limited to 'indra/cmake')
-rwxr-xr-x | indra/cmake/FindFMOD.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/cmake/FindFMOD.cmake b/indra/cmake/FindFMOD.cmake index c49c7537d8..e60b386027 100755 --- a/indra/cmake/FindFMOD.cmake +++ b/indra/cmake/FindFMOD.cmake @@ -11,8 +11,9 @@ FIND_PATH(FMOD_INCLUDE_DIR fmod.h PATH_SUFFIXES fmod) +SET(FMOD_NAMES ${FMOD_NAMES} fmod fmodvc fmod-3.75) FIND_LIBRARY(FMOD_LIBRARY - NAMES fmod fmodvc fmod-3.75 + NAMES ${FMOD_NAMES} PATH_SUFFIXES fmod ) |