Avoid adding the redundant install rules for module headers
If module doesn't contain headers we should skip adding install rule of the geneated by syncqt module headers, since the staging directory will not be created in this case. Change-Id: I89db5f1447d60cae48cd6ae4b9ef080dcf50e34c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
5cf79c2b9b
commit
65c1ac1df6
@ -206,7 +206,7 @@ function(qt_internal_target_sync_headers target module_headers module_headers_ge
|
||||
endif()
|
||||
add_dependencies(sync_all_public_headers ${target}_sync_all_public_headers)
|
||||
|
||||
if(NOT is_3rd_party_library AND NOT is_framework)
|
||||
if(NOT is_3rd_party_library AND NOT is_framework AND module_headers)
|
||||
# Install all the CaMeL style aliases of header files from the staging directory in one rule
|
||||
qt_install(DIRECTORY "${syncqt_staging_dir}/"
|
||||
DESTINATION "${module_install_interface_include_dir}"
|
||||
|
Loading…
Reference in New Issue
Block a user