Add <module>-config[-p].h files to the module sources
<module>-config[-p].h files need to be added to the CMake source tree
Amends 8539e641f6
Task-number: QTBUG-103196
Change-Id: I8baaa672ad869da8a030d890da8bdea5bd8c7794
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
da635dfced
commit
c7d1d56b09
@ -641,6 +641,12 @@ function(qt_internal_add_module target)
|
||||
)
|
||||
include(${configureFile})
|
||||
qt_feature_module_end("${target}")
|
||||
|
||||
qt_internal_extend_target("${target}"
|
||||
SOURCES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/${module_config_header}"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/${module_config_private_header}"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(NOT arg_HEADER_MODULE)
|
||||
|
Loading…
Reference in New Issue
Block a user