summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/Qt6WaylandClientMacros.cmake2
-rw-r--r--src/compositor/Qt6WaylandCompositorMacros.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Qt6WaylandClientMacros.cmake b/src/client/Qt6WaylandClientMacros.cmake
index 6bda08e7..879841a0 100644
--- a/src/client/Qt6WaylandClientMacros.cmake
+++ b/src/client/Qt6WaylandClientMacros.cmake
@@ -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)
diff --git a/src/compositor/Qt6WaylandCompositorMacros.cmake b/src/compositor/Qt6WaylandCompositorMacros.cmake
index 3fb08b3a..a9e79ce4 100644
--- a/src/compositor/Qt6WaylandCompositorMacros.cmake
+++ b/src/compositor/Qt6WaylandCompositorMacros.cmake
@@ -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)