[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33214] trunk/blender/CMakeLists.txt: disallow disabling WITH_SAMPLERATE if any audio outputs are enabled.

Campbell Barton ideasman42 at gmail.com
Sun Nov 21 17:32:12 CET 2010


Revision: 33214
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33214
Author:   campbellbarton
Date:     2010-11-21 17:32:11 +0100 (Sun, 21 Nov 2010)

Log Message:
-----------
disallow disabling WITH_SAMPLERATE if any audio outputs are enabled.

Modified Paths:
--------------
    trunk/blender/CMakeLists.txt

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2010-11-21 14:40:50 UTC (rev 33213)
+++ trunk/blender/CMakeLists.txt	2010-11-21 16:32:11 UTC (rev 33214)
@@ -137,10 +137,14 @@
 	MESSAGE(FATAL_ERROR "WITH_PLAYER needs WITH_GAMEENGINE")
 ENDIF(NOT WITH_GAMEENGINE AND WITH_PLAYER)
 
-IF(NOT WITH_INSTALL AND WITH_PYTHON_INSTALL)
-	MESSAGE("WARNING: WITH_PYTHON_INSTALL needs WITH_INSTALL")
-ENDIF(NOT WITH_INSTALL AND WITH_PYTHON_INSTALL)
+IF(NOT WITH_GAMEENGINE AND WITH_PLAYER)
+	MESSAGE(FATAL_ERROR "WITH_PLAYER needs WITH_GAMEENGINE")
+ENDIF(NOT WITH_GAMEENGINE AND WITH_PLAYER)
 
+IF(NOT WITH_SAMPLERATE AND (WITH_OPENAL OR WITH_SDL OR WITH_JACK))
+	MESSAGE(FATAL_ERROR "WITH_OPENAL/WITH_SDL/WITH_JACK need WITH_SAMPLERATE")
+ENDIF(NOT WITH_SAMPLERATE AND (WITH_OPENAL OR WITH_SDL OR WITH_JACK))
+
 TEST_SSE_SUPPORT()
 
 # disabled for now, not supported





More information about the Bf-blender-cvs mailing list