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_USE_FILE} )
if( ${wxWidgets_VERSION_STRING} VERSION_LESS 3.2 )
message( FATAL_ERROR "wxWidgets 3.2.0 or greater is required" )
if( NOT MSVC )
if( ${wxWidgets_VERSION_STRING} VERSION_LESS 3.2 )
message( FATAL_ERROR "wxWidgets 3.2.0 or greater is required" )
endif()
endif()
if( MINGW )