[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45644] trunk/blender/CMakeLists.txt: disallow invalid mingw configurations, not just disable by default but disallow the built to run if they are set by the developer .
Campbell Barton
ideasman42 at gmail.com
Sun Apr 15 09:32:56 CEST 2012
Revision: 45644
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45644
Author: campbellbarton
Date: 2012-04-15 07:32:56 +0000 (Sun, 15 Apr 2012)
Log Message:
-----------
disallow invalid mingw configurations, not just disable by default but disallow the built to run if they are set by the developer.
Modified Paths:
--------------
trunk/blender/CMakeLists.txt
Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt 2012-04-15 07:24:14 UTC (rev 45643)
+++ trunk/blender/CMakeLists.txt 2012-04-15 07:32:56 UTC (rev 45644)
@@ -364,6 +364,19 @@
set(WITH_GHOST_XDND OFF)
endif()
+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((NOT WITH_CODEC_FFMPEG) AND (WITH_CYCLES OR WITH_IMAGE_OPENEXR OR WITH_IMAGE_TIFF))
+ message(FATAL_ERROR "MINGW has a problem with: WITH_CYCLES/WITH_IMAGE_OPENEXR/WITH_IMAGE_TIFF "
+ "when WITH_CODEC_FFMPEG is disabled, enable FFMPEG or disable CYCLES/EXR/TIFF.")
+ endif()
+endif()
+
TEST_SSE_SUPPORT(COMPILER_SSE_FLAG COMPILER_SSE2_FLAG)
More information about the Bf-blender-cvs
mailing list