disallow invalid mingw configurations, not just disable by default but disallow the built to run if they are set by the developer.
This commit is contained in:
@@ -364,6 +364,19 @@ if(WITH_GHOST_SDL OR WITH_HEADLESS)
|
|||||||
set(WITH_GHOST_XDND OFF)
|
set(WITH_GHOST_XDND OFF)
|
||||||
endif()
|
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)
|
TEST_SSE_SUPPORT(COMPILER_SSE_FLAG COMPILER_SSE2_FLAG)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user