Commits

Techwolf committed 4173854

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"

  • Participants
  • Parent commits e7d0d54

Comments (0)

Files changed (1)

File indra/cmake/FindFMOD.cmake

 
 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
   )