Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-12-23 11:37:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-23 11:37:51 +0400
commitda3dd4de20153aac857088d2e5837b1e6eb26aac (patch)
treec870ada2d2d03f69a9a56f69d96e2058ca2bf8bf /CMakeLists.txt
parentac498a6b64ea2f034aa0177894fb25d0401e327b (diff)
give errors when using unsupported configurations with mingw`
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt22
1 files changed, 18 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 371b7eb0896..7e2e87f1787 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -281,10 +281,24 @@ if(WITH_PYTHON_MODULE AND WITH_PYTHON_INSTALL)
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)