diff --git a/MyxCMake/lib/TargetSetupQt.cmake b/MyxCMake/lib/TargetSetupQt.cmake index d149fe2..893075c 100644 --- a/MyxCMake/lib/TargetSetupQt.cmake +++ b/MyxCMake/lib/TargetSetupQt.cmake @@ -76,7 +76,7 @@ function(myx_target_setup_qt TARGET_NAME) endif() if(ARG_UI) - if(NOT COMMAND qt${myx_ver_qt}_wrap_ui) + if(NOT COMMAND qt${myx_qt_ver}_wrap_ui) message(WARNING "MyxCMake: Widgets is required to process UI") else() if(myx_qt_ver EQUAL 5) @@ -100,7 +100,7 @@ function(myx_target_setup_qt TARGET_NAME) # Формирование файла ресурсов с переводами if(tr AND ARG_LANGS) - if(NOT COMMAND qt${myx_ver_qt}_create_translation) + if(NOT COMMAND qt${myx_qt_ver}_create_translation) message(WARNING "MyxCMake: LinguistTools is required to process LANGS") else() # Заглавие файла ресурсов