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,17 +131,19 @@ function(qt_copy_framework_headers target)
|
|||||||
COMMAND ${copy_fw_sync_headers_command})
|
COMMAND ${copy_fw_sync_headers_command})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_custom_command(
|
if(out_files)
|
||||||
OUTPUT ${out_files}
|
add_custom_command(
|
||||||
DEPENDS ${target}_copy_fw_sync_headers ${in_files}
|
OUTPUT ${out_files}
|
||||||
COMMAND
|
DEPENDS ${target}_copy_fw_sync_headers ${in_files}
|
||||||
${CMAKE_COMMAND} -E make_directory ${out_dirs}
|
COMMAND
|
||||||
${copy_commands}
|
${CMAKE_COMMAND} -E make_directory ${out_dirs}
|
||||||
VERBATIM
|
${copy_commands}
|
||||||
COMMENT "Copy the ${target} header files to the framework directory"
|
VERBATIM
|
||||||
)
|
COMMENT "Copy the ${target} header files to the framework directory"
|
||||||
set_property(TARGET ${target} APPEND PROPERTY
|
)
|
||||||
QT_COPIED_FRAMEWORK_HEADERS "${out_files}")
|
set_property(TARGET ${target} APPEND PROPERTY
|
||||||
|
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