CMake: Enable Moc for 3rdparty libraries
This is required to support QtVirtualKeyboard's third party OpenWnn library. Change-Id: I64b6a2b6b6b0259bea5aa249a8c901def31f916c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
310c5d8c55
commit
c028cbccc2
@ -3118,6 +3118,8 @@ function(qt_add_3rdparty_library target)
|
|||||||
OUTPUT_NAME "${INSTALL_CMAKE_NAMESPACE}${target}"
|
OUTPUT_NAME "${INSTALL_CMAKE_NAMESPACE}${target}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
qt_autogen_tools_initial_setup(${target})
|
||||||
|
|
||||||
if(NOT arg_INTERFACE)
|
if(NOT arg_INTERFACE)
|
||||||
# This property is used for super builds with static libraries. We use
|
# This property is used for super builds with static libraries. We use
|
||||||
# it in QtPlugins.cmake.in to avoid "polluting" the dependency chain
|
# it in QtPlugins.cmake.in to avoid "polluting" the dependency chain
|
||||||
|
Loading…
x
Reference in New Issue
Block a user