Fix mysql plugin deploy on windows

This commit is contained in:
Fabio Bas 2016-03-08 08:55:50 +01:00
parent 0b8f52e084
commit 62cb89d224
2 changed files with 14 additions and 2 deletions

View file

@ -201,7 +201,7 @@ if(WIN32)
# qt5: platforms, sqldrivers
install(DIRECTORY "${QT_PLUGINS_DIR}/" DESTINATION ${plugin_dest_dir} COMPONENT Runtime
FILES_MATCHING REGEX "(codecs/.*|platforms/.*|sqldrivers/libqsqlmysql)\\.dll"
FILES_MATCHING REGEX "(codecs/.*|platforms/.*|sqldrivers/qsqlmysql)\\.dll"
REGEX ".*d\\.dll" EXCLUDE)
install(CODE "