mirror of https://github.com/PCSX2/pcsx2.git
Build: Fix build with wx 3.1 on FreeBSD (#7178)
This commit is contained in:
parent
95968c7e0e
commit
f5498a4660
|
@ -86,7 +86,12 @@ else()
|
|||
endif()
|
||||
else()
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
set(wxWidgets_CONFIG_EXECUTABLE "/usr/local/bin/wxgtk3u-3.0-config")
|
||||
if(EXISTS "/usr/local/bin/wxgtk3u-3.1-config")
|
||||
set(wxWidgets_CONFIG_EXECUTABLE "/usr/local/bin/wxgtk3u-3.1-config")
|
||||
endif()
|
||||
if(EXISTS "/usr/local/bin/wxgtk3u-3.0-config")
|
||||
set(wxWidgets_CONFIG_EXECUTABLE "/usr/local/bin/wxgtk3u-3.0-config")
|
||||
endif()
|
||||
endif()
|
||||
if(EXISTS "/usr/bin/wx-config-3.2")
|
||||
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config-3.2")
|
||||
|
|
Loading…
Reference in New Issue