FindwxWidgets: Fix finding both release and debug libs

In commit fe54989fcd (FindwxWidgets: Add support for wxQt, 2019-11-12,
v3.16.0-rc4~12^2~1) the internal `WX_FIND_LIBS` macro gained an argument
but not all call sites were updated.  Update the missing one now.

Fixes: #20005
This commit is contained in:
Brad King
2019-11-22 11:03:33 -05:00
parent 84408ff402
commit a5bb08a8c0

View File

@@ -649,7 +649,7 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
# Find wxWidgets libraries.
WX_FIND_LIBS("${PF}" "${UNV}" "${UCD}" "${DBG}")
if(WX_USE_REL_AND_DBG)
WX_FIND_LIBS("${UNV}" "${UCD}" "d")
WX_FIND_LIBS("${PF}" "${UNV}" "${UCD}" "d")
endif()
# Settings for requested libs (i.e., include dir, libraries, etc.).