diff options
Diffstat (limited to 'src/corelib/Qt6CoreMacros.cmake')
| -rw-r--r-- | src/corelib/Qt6CoreMacros.cmake | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake index f4fd32f717f..590dcf063ec 100644 --- a/src/corelib/Qt6CoreMacros.cmake +++ b/src/corelib/Qt6CoreMacros.cmake @@ -954,7 +954,7 @@ function(_qt_internal_should_install_metatypes target) if(NOT target_type STREQUAL "EXECUTABLE" AND arg_INTERNAL_INSTALL) set(should_install TRUE) endif() - set(${out_var} "${should_install}" PARENT_SCOPE) + set(${arg_OUT_VAR} "${should_install}" PARENT_SCOPE) endfunction() function(_qt_internal_get_metatypes_install_dir internal_install_dir arch_data_dir out_var) @@ -1056,8 +1056,6 @@ function(_qt_internal_assign_install_metatypes_files_and_properties target) message(FATAL_ERROR "INSTALL_DIR must be specified") endif() - set(metatypes_file_name "${arg_METATYPES_FILE_NAME}") - # Set up consumption of files via INTERFACE_SOURCES. set(consumes_metatypes "$<BOOL:$<TARGET_PROPERTY:QT_CONSUMES_METATYPES>>") |
