CMake: Keep public include header locations for internal module pri

Amends f254d62cb1.

Task-number: QTBUG-95303
Pick-to: 6.1 6.2
Change-Id: Ica8d2850fe427b780d62cd9a9528f387a7ea1b79
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Jaeyoon Jung 2021-07-22 17:06:14 +09:00
parent b4c44bd0fa
commit c89a9ccbcc

View File

@ -245,7 +245,7 @@ ${framework_base_path}/${fw_private_module_header_dir}")
if (arg_INTERNAL_MODULE)
# 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)