Fix findwxwidgets again to let VS/MSYS2 combo work
This commit is contained in:
parent
86b6afd14b
commit
8635fc823b
|
@ -917,7 +917,7 @@ else()
|
|||
# When using wx-config in MSYS, the include paths are UNIX style paths which may or may
|
||||
# not work correctly depending on you MSYS/MinGW configuration. CMake expects native
|
||||
# paths internally.
|
||||
if(wxWidgets_FOUND AND MSYS)
|
||||
if(wxWidgets_FOUND AND (MSYS OR MINGW))
|
||||
find_program(_cygpath_exe cygpath ONLY_CMAKE_FIND_ROOT_PATH)
|
||||
DBG_MSG_V("_cygpath_exe: ${_cygpath_exe}")
|
||||
if(_cygpath_exe)
|
||||
|
|
Loading…
Reference in New Issue