diff options
author | Brad King <brad.king@kitware.com> | 2019-11-22 16:03:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-11-22 16:03:33 (GMT) |
commit | a5bb08a8c0eee06b7ec0b058266d8436f868f119 (patch) | |
tree | 87592a4dede0c1c71823f56930b73d40a0b5e79a /Modules | |
parent | 84408ff4025b59f268e07bc368e97fe07252be2c (diff) | |
download | CMake-a5bb08a8c0eee06b7ec0b058266d8436f868f119.zip CMake-a5bb08a8c0eee06b7ec0b058266d8436f868f119.tar.gz CMake-a5bb08a8c0eee06b7ec0b058266d8436f868f119.tar.bz2 |
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
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindwxWidgets.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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.). |