give errors when using unsupported configurations with mingw`

This commit is contained in:
Campbell Barton 2011-12-23 07:37:51 +00:00
parent ac498a6b64
commit da3dd4de20

@ -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)