mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 22:10:32 +00:00
FindwxWidgets: Add support for Windows XP compatible buils
Microsoft has dedicated toolset versions for XP compatible binaries (v110 vs. v110_xp, v141 vs. v141_xp) and CMake doesn't find wxWidgets compiled with _xp tools. This patch adds _xp to directories searched for wxWin libraries.
This commit is contained in:
parent
fff28e30cd
commit
cf78bf6812
@ -527,8 +527,10 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
|
||||
mswunivu/wx/setup.h
|
||||
mswunivud/wx/setup.h
|
||||
PATHS
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_TOOLVER}_xp${_WX_ARCH}_dll # prefer shared
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_TOOLVER}${_WX_ARCH}_dll # prefer shared
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_ARCH}_dll # prefer shared
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_TOOLVER}_xp${_WX_ARCH}_lib
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_TOOLVER}${_WX_ARCH}_lib
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_ARCH}_lib
|
||||
DOC "Path to wxWidgets libraries"
|
||||
@ -546,8 +548,10 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
|
||||
mswunivu/wx/setup.h
|
||||
mswunivud/wx/setup.h
|
||||
PATHS
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_TOOLVER}_xp${_WX_ARCH}_lib # prefer static
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_TOOLVER}${_WX_ARCH}_lib # prefer static
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_ARCH}_lib # prefer static
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_TOOLVER}_xp${_WX_ARCH}_dll
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_TOOLVER}${_WX_ARCH}_dll
|
||||
${WX_ROOT_DIR}/lib/${_WX_TOOL}${_WX_ARCH}_dll
|
||||
DOC "Path to wxWidgets libraries"
|
||||
|
Loading…
Reference in New Issue
Block a user