summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVadim Zeitlin <vz-cmake@zeitlins.org>2017-04-07 21:50:55 (GMT)
committerVadim Zeitlin <vz-cmake@zeitlins.org>2017-04-07 21:50:55 (GMT)
commitae4b3b707204e7eecbb217395aa40a3c8b88aaa5 (patch)
tree84256e75118cd67c459c9a03cf197414a42c00d4 /Modules
parent1a6e47aa3d9ac02bdaf4d107b33bdf9df7779495 (diff)
downloadCMake-ae4b3b707204e7eecbb217395aa40a3c8b88aaa5.zip
CMake-ae4b3b707204e7eecbb217395aa40a3c8b88aaa5.tar.gz
CMake-ae4b3b707204e7eecbb217395aa40a3c8b88aaa5.tar.bz2
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')
-rw-r--r--Modules/FindwxWidgets.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index d30d35f..bc906e5 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()
#-------------------------------------------------------------------