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 8539e641f6f48a605547f66c47266d19e537f74e 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})
|
include(${configureFile})
|
||||||
qt_feature_module_end("${target}")
|
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()
|
endif()
|
||||||
|
|
||||||
if(NOT arg_HEADER_MODULE)
|
if(NOT arg_HEADER_MODULE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user