summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2019-06-04 14:25:18 +0200
committerCristian Adam <cristian.adam@qt.io>2019-06-04 12:45:42 +0000
commitb61c4e6a7dcf71b49951f887fb11af640a56a60d (patch)
treead3d94c216851e9e40f80427fe9081aaa2485613
parent64c111e10fcb2f69855432177d76649b6b789fac (diff)
CMake: Install plugins on Windows
The plugin dll files were missing from install_dir/plugins/ Change-Id: I68655faf949e4b8fcab153c6c9b8ee14d3ad8ecc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CMake Build Bot
-rw-r--r--cmake/QtBuild.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index fab4543b3e..2c9b8867fa 100644
--- a/cmake/QtBuild.cmake
+++ b/cmake/QtBuild.cmake
@@ -1477,6 +1477,7 @@ function(add_qt_plugin target)
set(export_name "${target}Targets")
qt_install(TARGETS "${target}"
EXPORT ${export_name}
+ RUNTIME DESTINATION "${install_directory}"
LIBRARY DESTINATION "${install_directory}"
ARCHIVE DESTINATION "${archive_install_directory}"
)