guard out the currently broken wx version check

This commit is contained in:
Marek Roszko 2023-08-23 22:06:11 -04:00
parent 458d5fbeb8
commit 4cb60bac1b
1 changed files with 4 additions and 2 deletions

View File

@ -960,8 +960,10 @@ find_package( wxWidgets ${wxWidgets_REQ_VERSION} COMPONENTS gl aui adv html core
# Include wxWidgets macros. # Include wxWidgets macros.
include( ${wxWidgets_USE_FILE} ) include( ${wxWidgets_USE_FILE} )
if( ${wxWidgets_VERSION_STRING} VERSION_LESS 3.2 ) if( NOT MSVC )
message( FATAL_ERROR "wxWidgets 3.2.0 or greater is required" ) if( ${wxWidgets_VERSION_STRING} VERSION_LESS 3.2 )
message( FATAL_ERROR "wxWidgets 3.2.0 or greater is required" )
endif()
endif() endif()
if( MINGW ) if( MINGW )