#3986 Fix a CMake warning and remove debug output for Qt5

* Stop trying to copy the MSVC runtime with windeployqt. It isn't needed for private installs and for full installs it is already handled (removes warning about VCINSTALLDIR).
* Don't copy translations and QtQuick-import.
* Set verbosity to 0. This removes some useful messages about which libraries are copied, but also removes many useless warnings. The default verbosity of 1 leaves them all in. It doesn't appear very fine grained.
This commit is contained in:
Gaute Lindkvist 2019-02-01 12:44:42 +01:00
parent f52974a00b
commit 9b90799e4c

View File

@ -568,7 +568,12 @@ if (RESINSIGHT_PRIVATE_INSTALL)
COMMAND set PATH=%PATH%$<SEMICOLON>${qt5_install_prefix}/bin
COMMAND
Qt5::windeployqt
--dir "${CMAKE_CURRENT_BINARY_DIR}/windeployqt"
--no-compiler-runtime
--no-system-d3d-compiler
--no-quick-import
--no-translations
--verbose 0
--dir "${CMAKE_CURRENT_BINARY_DIR}/windeployqt"
"$<TARGET_FILE_DIR:ResInsight>/$<TARGET_FILE_NAME:ResInsight>"
)