mirror of https://github.com/PCSX2/pcsx2.git
Remove check for wxrc since it's not needed.
This commit is contained in:
parent
3b83d6d302
commit
90c4322fc5
|
@ -35,28 +35,24 @@ else()
|
||||||
list(APPEND wxWidgets_CONFIG_OPTIONS --toolkit=gtk2)
|
list(APPEND wxWidgets_CONFIG_OPTIONS --toolkit=gtk2)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# wx2.8 => /usr/bin/wx-config-2.8, /usr/bin/wxrc-2.8
|
# wx2.8 => /usr/bin/wx-config-2.8
|
||||||
# lib32-wx2.8 => /usr/bin/wx-config32-2.8, /usr/bin/wxrc32-2.8
|
# lib32-wx2.8 => /usr/bin/wx-config32-2.8
|
||||||
# wx3.0 => /usr/bin/wx-config-3.0, /usr/bin/wxrc-3.0
|
# wx3.0 => /usr/bin/wx-config-3.0
|
||||||
# I'm going to take a wild guess and predict this:
|
# I'm going to take a wild guess and predict this:
|
||||||
# lib32-wx3.0 => /usr/bin/wx-config32-3.0, /usr/bin/wxrc32-3.0
|
# lib32-wx3.0 => /usr/bin/wx-config32-3.0
|
||||||
# FindwxWidgets only searches for wxrc and wx-config.
|
# FindwxWidgets only searches for wx-config.
|
||||||
if(CMAKE_CROSSCOMPILING)
|
if(CMAKE_CROSSCOMPILING)
|
||||||
# May need to fix the filenames for lib32-wx3.0.
|
# May need to fix the filenames for lib32-wx3.0.
|
||||||
if(NOT WX28_API AND ${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386" AND EXISTS "/usr/bin/wx-config32-3.0" AND EXISTS "/usr/bin/wxrc32-3.0")
|
if(NOT WX28_API AND ${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386" AND EXISTS "/usr/bin/wx-config32-3.0")
|
||||||
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config32-3.0")
|
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config32-3.0")
|
||||||
set(wxWidgets_wxrc_EXECUTABLE "/usr/bin/wxrc32-3.0")
|
elseif(WX28_API AND ${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386" AND EXISTS "/usr/bin/wx-config32-2.8")
|
||||||
elseif(WX28_API AND ${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386" AND EXISTS "/usr/bin/wx-config32-2.8" AND EXISTS "/usr/bin/wxrc32-2.8")
|
|
||||||
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config32-2.8")
|
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config32-2.8")
|
||||||
set(wxWidgets_wxrc_EXECUTABLE "/usr/bin/wxrc32-2.8")
|
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
if(NOT WX28_API AND EXISTS "/usr/bin/wx-config-3.0" AND EXISTS "/usr/bin/wxrc-3.0")
|
if(NOT WX28_API AND EXISTS "/usr/bin/wx-config-3.0")
|
||||||
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config-3.0")
|
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config-3.0")
|
||||||
set(wxWidgets_wxrc_EXECUTABLE "/usr/bin/wxrc-3.0")
|
elseif(WX28_API AND EXISTS "/usr/bin/wx-config-2.8")
|
||||||
elseif(WX28_API AND EXISTS "/usr/bin/wx-config-2.8" AND EXISTS "/usr/bin/wxrc-2.8")
|
|
||||||
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config-2.8")
|
set(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config-2.8")
|
||||||
set(wxWidgets_wxrc_EXECUTABLE "/usr/bin/wxrc-2.8")
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue