diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-15 11:32:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-15 11:32:56 +0400 |
commit | a8077c8222876bdc67cfbc9ae56b04a12c8657e9 (patch) | |
tree | e12d383d9b202759bededefc0b80b829c358d756 /CMakeLists.txt | |
parent | e7f1033dcb91ea3fdc4e301efbafc84cd151e05a (diff) |
disallow invalid mingw configurations, not just disable by default but disallow the built to run if they are set by the developer.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e56c5a920f2..68efd0759fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -364,6 +364,19 @@ if(WITH_GHOST_SDL OR WITH_HEADLESS) 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) |