diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index 2be45f9777..a2c8c7b766 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -698,7 +698,7 @@ function(qt_generate_module_pri_file target target_path config_module_name pri_f set(property_prefix) if(arg_HEADER_MODULE) - set(property_prefix "interface_") + set(property_prefix "INTERFACE_") endif() get_target_property(enabled_features "${target}"