CMake: disable wxUSE_MIMETYPE when wxUSE_TEXTFILE is disabled
This commit is contained in:
parent
51fc85f16a
commit
b42de093f6
@ -272,6 +272,11 @@ if(wxUSE_TEXTFILE AND (NOT wxUSE_FILE OR NOT wxUSE_TEXTBUFFER))
|
||||
wx_option_force_value(wxUSE_TEXTFILE OFF)
|
||||
endif()
|
||||
|
||||
if(wxUSE_MIMETYPE AND NOT wxUSE_TEXTFILE)
|
||||
message(WARNING "wxUSE_MIMETYPE requires wxTextFile... disabled")
|
||||
wx_option_force_value(wxUSE_MIMETYPE OFF)
|
||||
endif()
|
||||
|
||||
if(wxUSE_CONFIG)
|
||||
if(NOT wxUSE_TEXTFILE)
|
||||
message(WARNING "wxConfig requires wxTextFile... disabled")
|
||||
|
Loading…
Reference in New Issue
Block a user