CMake: Keep public include header locations for internal module pri
Amends f254d62cb1807d5bd9ee2e23ef64d4ca2d1b6809. Task-number: QTBUG-95303 Change-Id: Ica8d2850fe427b780d62cd9a9528f387a7ea1b79 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit c89a9ccbccdd7d6ceec669e7effec5786eb3f642) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
c230fa69d3
commit
b26f39b946
@ -246,7 +246,7 @@ function(qt_generate_module_pri_file target)
|
||||
if (arg_INTERNAL_MODULE)
|
||||
string(APPEND config_module_name "_private")
|
||||
# Internal module pri needs to provide private headers
|
||||
set(public_module_includes "${private_module_includes}")
|
||||
set(public_module_includes "${public_module_includes} ${private_module_includes}")
|
||||
endif()
|
||||
|
||||
qt_path_join(target_path ${QT_BUILD_DIR} ${INSTALL_MKSPECSDIR}/modules)
|
||||
|
Loading…
x
Reference in New Issue
Block a user