summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-25 14:37:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-25 14:38:07 (GMT)
commitdb3d3ab4fbc24d2e2140e861e101c5f6a5b7303b (patch)
tree98adbbfd9b76518f5400c5c570b0ac7f8da8b229 /Modules
parentae2c2f1f1b5c81ea90579b605a61e9ae96b3178b (diff)
parenta5bb08a8c0eee06b7ec0b058266d8436f868f119 (diff)
downloadCMake-db3d3ab4fbc24d2e2140e861e101c5f6a5b7303b.zip
CMake-db3d3ab4fbc24d2e2140e861e101c5f6a5b7303b.tar.gz
CMake-db3d3ab4fbc24d2e2140e861e101c5f6a5b7303b.tar.bz2
Merge topic 'FindwxWidgets-rel-and-dbg'
a5bb08a8c0 FindwxWidgets: Fix finding both release and debug libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4079
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindwxWidgets.cmake2
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.).