cmake: search /usr/bin/wx-config32 (for arch users...)

issue #1933
This commit is contained in:
Gregory Hainaut 2017-05-08 09:52:57 +02:00
parent 7a3239cba0
commit 9b0b325339
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ if(CMAKE_CROSSCOMPILING)
if (Fedora AND EXISTS "/usr/bin/wx-config-3.0")
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config-3.0")
endif()
if (EXISTS "/usr/bin/wx-config32")
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config32")
endif()
if (EXISTS "/usr/bin/wx-config32-3.0")
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config32-3.0")
endif()