Fix framework headers copying when module don't have header files
Amends 103eca1070a75bfa97d0b72b94e0c759ef0bcd1c Change-Id: I3caae60c022cd46a6d33691760b619920d6e778e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
0d9c92bfdf
commit
02e516281b
@ -131,6 +131,7 @@ function(qt_copy_framework_headers target)
|
|||||||
COMMAND ${copy_fw_sync_headers_command})
|
COMMAND ${copy_fw_sync_headers_command})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(out_files)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${out_files}
|
OUTPUT ${out_files}
|
||||||
DEPENDS ${target}_copy_fw_sync_headers ${in_files}
|
DEPENDS ${target}_copy_fw_sync_headers ${in_files}
|
||||||
@ -142,6 +143,7 @@ function(qt_copy_framework_headers target)
|
|||||||
)
|
)
|
||||||
set_property(TARGET ${target} APPEND PROPERTY
|
set_property(TARGET ${target} APPEND PROPERTY
|
||||||
QT_COPIED_FRAMEWORK_HEADERS "${out_files}")
|
QT_COPIED_FRAMEWORK_HEADERS "${out_files}")
|
||||||
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(qt_internal_generate_fake_framework_header target)
|
function(qt_internal_generate_fake_framework_header target)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user