summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorTechwolf Lupindo <bitbucket.org@trap.wereanimal.net>2010-10-12 00:58:23 -0400
committerTechwolf Lupindo <bitbucket.org@trap.wereanimal.net>2010-10-12 00:58:23 -0400
commit5ec1ffe5a3192ce387c0482d8c216507cbff3f44 (patch)
treefbf921c66da1ba6232b6dc6f9c104f459a152076 /indra/cmake
parent54065ab2f9262cac67a5a3d00aed3f6348383bfc (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-xindra/cmake/FindFMOD.cmake3
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
)