give errors when using unsupported configurations with mingw`
This commit is contained in:
@@ -281,12 +281,26 @@ if(WITH_PYTHON_MODULE AND WITH_PYTHON_INSTALL)
|
|||||||
message(FATAL_ERROR "WITH_PYTHON_MODULE requires WITH_PYTHON_INSTALL to be OFF")
|
message(FATAL_ERROR "WITH_PYTHON_MODULE requires WITH_PYTHON_INSTALL to be OFF")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_CODEC_QUICKTIME AND MINGW)
|
if(MINGW)
|
||||||
|
if(WITH_CODEC_QUICKTIME)
|
||||||
message(FATAL_ERROR "MINGW requires WITH_CODEC_QUICKTIME to be OFF "
|
message(FATAL_ERROR "MINGW requires WITH_CODEC_QUICKTIME to be OFF "
|
||||||
"because it is currently unsupported, remove this "
|
"because it is currently unsupported, remove this "
|
||||||
"line if youre a developer who wants to add support.")
|
"line if youre a developer who wants to add support.")
|
||||||
endif()
|
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)
|
if(NOT WITH_FFTW3 AND WITH_MOD_OCEANSIM)
|
||||||
message(FATAL_ERROR "WITH_MOD_OCEANSIM requires WITH_FFTW3 to be ON")
|
message(FATAL_ERROR "WITH_MOD_OCEANSIM requires WITH_FFTW3 to be ON")
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user