diff options
Diffstat (limited to 'cmake/qt-utils.cmake')
-rw-r--r-- | cmake/qt-utils.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/qt-utils.cmake b/cmake/qt-utils.cmake index 794cb8bdc..b1a15fd5e 100644 --- a/cmake/qt-utils.cmake +++ b/cmake/qt-utils.cmake @@ -8,6 +8,7 @@ function(include_qt_plugin TARGET SCOPE PLUGIN) if(NOT EXISTS ${PATH}) file(WRITE ${PATH} "#include <QtPlugin>\n") set_property(SOURCE ${PATH} PROPERTY GENERATED TRUE SKIP_AUTOGEN TRUE) + set_property(SOURCE ${PATH} PROPERTY SKIP_UNITY_BUILD_INCLUSION TRUE) else() file(READ ${PATH} CONTENT) string(FIND ${CONTENT} ${PLUGIN} INDEX) |