Adjust INTERFACE_MODULE_HAS_HEADERS property name

After introducing the _qt_module_has_headers target property, it's
better to replace the INTERFACE_MODULE_HAS_HEADERS use by
_qt_module_has_headers since properties duplicate each other.

Pick-to: 6.2
Change-Id: Ia1b35cc21bf31fce593c374d196aa450e6fd7e08
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alexey Edelev 2021-07-30 15:21:50 +02:00
parent 1b0445156d
commit 9ec8d463aa
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ function(qt6_generate_wayland_protocol_client_sources target)
set(wayland_include_dir "${arg_WAYLAND_INCLUDE_DIR}")
else()
get_target_property(qt_module ${target} _qt_module_interface_name)
get_target_property(is_for_module "${target}" INTERFACE_MODULE_HAS_HEADERS)
get_target_property(is_for_module "${target}" _qt_module_has_headers)
if (qt_module)
set(wayland_include_dir "Qt${qt_module}/private")
elseif (is_for_module)

View File

@ -37,7 +37,7 @@ function(qt6_generate_wayland_protocol_server_sources target)
set(wayland_include_dir "${arg_WAYLAND_INCLUDE_DIR}")
else()
get_target_property(qt_module ${target} _qt_module_interface_name)
get_target_property(is_for_module "${target}" INTERFACE_MODULE_HAS_HEADERS)
get_target_property(is_for_module "${target}" _qt_module_has_headers)
if (qt_module)
set(wayland_include_dir "Qt${qt_module}/private")
elseif (is_for_module)