mirror of https://github.com/qt/qtgrpc.git
Update the qt_internal_link_internal_platform_for_object_library usage
The function now accepts two arguments, but not one. The second argument is the main plugin target that the object library belongs to. It's used to keep the set of flag-controlling properties consistent between object library and plugin. Change-Id: I695c613a70e56bf99cf1efabc3288fb720d10e66 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
d4cbd3006a
commit
90334a0f6c
|
@ -139,7 +139,8 @@ QT_END_NAMESPACE\n")
|
|||
set(object_library ${target}_protobuf_module_registration)
|
||||
|
||||
add_library(${object_library} OBJECT ${registration_file})
|
||||
qt_internal_link_internal_platform_for_object_library(${object_library})
|
||||
qt_internal_link_internal_platform_for_object_library(${object_library}
|
||||
PARENT_TARGET ${target})
|
||||
_qt_internal_copy_dependency_properties(${object_library}
|
||||
${target} PRIVATE_ONLY)
|
||||
|
||||
|
|
Loading…
Reference in New Issue