VWR-23455: Don't download FMOD unless INSTALL_PROPRIETARY is TRUE

master
Boroondas Gupte 2010-10-16 17:11:47 +02:00
parent d1ad7a56be
commit d53613b5ae
2 changed files with 7 additions and 2 deletions

View File

@ -172,6 +172,7 @@ Boroondas Gupte
VWR-233
VWR-20583
VWR-20891
VWR-23455
WEB-262
Bulli Schumann
CT-218

View File

@ -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)