cmake: Don't add module header for interface libs without headers
Change-Id: Ifba869586a65f28d5ff47bb2c01ce638110f493f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
4b899a29fa
commit
598e873c84
@ -138,6 +138,11 @@ function(qt_internal_create_module_depends_file target)
|
||||
if (skip_module_depends_include)
|
||||
continue()
|
||||
endif()
|
||||
else()
|
||||
get_target_property(module_has_headers Qt::${dep} INTERFACE_MODULE_HAS_HEADERS)
|
||||
if (NOT module_has_headers)
|
||||
continue()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user