summaryrefslogtreecommitdiff
path: root/Modules/FindwxWidgets.cmake
diff options
context:
space:
mode:
authorVadim Zeitlin <vz-cmake@zeitlins.org>2017-04-07 23:50:55 +0200
committerVadim Zeitlin <vz-cmake@zeitlins.org>2017-04-07 23:50:55 +0200
commitae4b3b707204e7eecbb217395aa40a3c8b88aaa5 (patch)
tree84256e75118cd67c459c9a03cf197414a42c00d4 /Modules/FindwxWidgets.cmake
parent1a6e47aa3d9ac02bdaf4d107b33bdf9df7779495 (diff)
downloadcmake-ae4b3b707204e7eecbb217395aa40a3c8b88aaa5.tar.gz
FindwxWidgets: link with the new required libs under MSW
Latest wxWidgets git master version and the upcoming 3.1.1 release requires linking with shlwapi and version DLLs. As this does no harm when using the previous versions, just do it unconditionally.
Diffstat (limited to 'Modules/FindwxWidgets.cmake')
-rw-r--r--Modules/FindwxWidgets.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index d30d35fa7d..bc906e59a5 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -423,7 +423,7 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
list(APPEND wxWidgets_LIBRARIES opengl32 glu32)
endif()
- list(APPEND wxWidgets_LIBRARIES winmm comctl32 rpcrt4 wsock32)
+ list(APPEND wxWidgets_LIBRARIES winmm comctl32 oleacc rpcrt4 shlwapi version wsock32)
endmacro()
#-------------------------------------------------------------------