From a5bb08a8c0eee06b7ec0b058266d8436f868f119 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 22 Nov 2019 11:03:33 -0500 Subject: 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 --- Modules/FindwxWidgets.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake index 798d19a..4334e22 100644 --- a/Modules/FindwxWidgets.cmake +++ b/Modules/FindwxWidgets.cmake @@ -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.). -- cgit v0.12