diff options
author | Boroondas Gupte <hg@boroon.dasgupta.ch> | 2010-10-16 17:11:47 +0200 |
---|---|---|
committer | Boroondas Gupte <hg@boroon.dasgupta.ch> | 2010-10-16 17:11:47 +0200 |
commit | d53613b5ae7fd14da79b90b9fc65fa9938e331af (patch) | |
tree | 91ea9a596c9fe7c7e640993d1807eb5ccab9793f /indra/cmake/FMOD.cmake | |
parent | d1ad7a56beee603b336600d4aace1e4d4c0f5ade (diff) |
VWR-23455: Don't download FMOD unless INSTALL_PROPRIETARY is TRUE
Diffstat (limited to 'indra/cmake/FMOD.cmake')
-rwxr-xr-x | indra/cmake/FMOD.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/cmake/FMOD.cmake b/indra/cmake/FMOD.cmake index 4582017bcb..fd9d5fe197 100755 --- a/indra/cmake/FMOD.cmake +++ b/indra/cmake/FMOD.cmake @@ -1,5 +1,7 @@ # -*- cmake -*- -include(Prebuilt) +if (INSTALL_PROPRIETARY) + include(Prebuilt) +endif (INSTALL_PROPRIETARY) set(FMOD_FIND_QUIETLY OFF) set(FMOD_FIND_REQUIRED OFF) @@ -7,7 +9,9 @@ set(FMOD_FIND_REQUIRED OFF) if (STANDALONE) include(FindFMOD) else (STANDALONE) - use_prebuilt_binary(fmod) + if (INSTALL_PROPRIETARY) + use_prebuilt_binary(fmod) + endif (INSTALL_PROPRIETARY) if (WINDOWS) set(FMOD_LIBRARY fmod) |