[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42840] trunk/blender/CMakeLists.txt: give errors when using unsupported configurations with mingw`

Campbell Barton ideasman42 at gmail.com
Fri Dec 23 08:37:59 CET 2011


Revision: 42840
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42840
Author:   campbellbarton
Date:     2011-12-23 07:37:51 +0000 (Fri, 23 Dec 2011)
Log Message:
-----------
give errors when using unsupported configurations with mingw`

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

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2011-12-23 07:10:01 UTC (rev 42839)
+++ trunk/blender/CMakeLists.txt	2011-12-23 07:37:51 UTC (rev 42840)
@@ -281,10 +281,24 @@
 	message(FATAL_ERROR "WITH_PYTHON_MODULE requires WITH_PYTHON_INSTALL to be OFF")
 endif()
 
-if(WITH_CODEC_QUICKTIME AND MINGW)
-	message(FATAL_ERROR "MINGW requires WITH_CODEC_QUICKTIME to be OFF "
-						"because it is currently unsupported, remove this "
-						"line if youre a developer who wants to add support.")
+if(MINGW)
+	if(WITH_CODEC_QUICKTIME)
+		message(FATAL_ERROR "MINGW requires WITH_CODEC_QUICKTIME to be OFF "
+							"because it is currently unsupported, remove this "
+							"line if youre a developer who wants to add support.")
+	endif()
+
+	if(WITH_CYCLES)
+		message(FATAL_ERROR "MINGW requires WITH_CYCLES to be OFF "
+							"because it is currently unsupported, remove this "
+							"line if youre a developer who wants to add support.")
+	endif()
+
+	if(WITH_IMAGE_OPENEXR)
+		message(FATAL_ERROR "MINGW requires WITH_IMAGE_OPENEXR to be OFF "
+							"because it is currently unsupported, remove this "
+							"line if youre a developer who wants to add support.")
+	endif()
 endif()
 
 if(NOT WITH_FFTW3 AND WITH_MOD_OCEANSIM)




More information about the Bf-blender-cvs mailing list