Copy only needed dlls.

This commit is contained in:
Martin Rotter 2016-04-01 12:23:08 +02:00
parent 8f62904a34
commit 27d892cb71
2 changed files with 66 additions and 62 deletions

View File

@ -352,6 +352,12 @@ if(WIN32)
file( GLOB APP_DLLS_QT5_MSVC2013
"resources/binaries/windows/qt5-msvc2013/*.dll")
file( GLOB APP_DLLS_QT5_MSVC2013_BEARER
"resources/binaries/windows/qt5-msvc2013/bearer/*.dll")
file( GLOB APP_DLLS_QT5_MSVC2013_ICONENGINES
"resources/binaries/windows/qt5-msvc2013/iconengines/*.dll")
file( GLOB APP_DLLS_QT5_MSVC2013_IMAGEFORMATS
"resources/binaries/windows/qt5-msvc2013/imageformats/*.dll")
@ -360,9 +366,6 @@ if(WIN32)
file( GLOB APP_DLLS_QT5_MSVC2013_PLATFORMS
"resources/binaries/windows/qt5-msvc2013/platforms/*.dll")
file( GLOB APP_DLLS_QT5_MSVC2013_PRINTSUPPORT
"resources/binaries/windows/qt5-msvc2013/printsupport/*.dll")
endif(WIN32)
# Add custom icon on Mac OS X.
@ -435,10 +438,11 @@ if(WIN32)
# Copy DLLs and other binary files for main installation.
if(WIN32)
install(FILES ${APP_DLLS_QT5_MSVC2013} DESTINATION ./)
install(FILES ${APP_DLLS_QT5_MSVC2013_BEARER} DESTINATION ./bearer)
install(FILES ${APP_DLLS_QT5_MSVC2013_ICONENGINES} DESTINATION ./iconengines)
install(FILES ${APP_DLLS_QT5_MSVC2013_IMAGEFORMATS} DESTINATION ./imageformats)
install(FILES ${APP_DLLS_QT5_MSVC2013_SQLDRIVERS} DESTINATION ./sqldrivers)
install(FILES ${APP_DLLS_QT5_MSVC2013_PLATFORMS} DESTINATION ./platforms)
install(FILES ${APP_DLLS_QT5_MSVC2013_PRINTSUPPORT} DESTINATION ./printsupport)
install(FILES ${APP_DLLS_QT5_MSVC2013_SQLDRIVERS} DESTINATION ./sqldrivers)
endif(WIN32)
install(DIRECTORY resources/graphics/icons/mini-kfaenza DESTINATION ./icons)

@ -1 +1 @@
Subproject commit 9ac6aeabaae34afe02602f51dae7fc181aff49dd
Subproject commit 2392b936c08eac92a6a34361a916a739f53836d0