diff --git a/qad/QADDeploy.cmake b/qad/QADDeploy.cmake index ee6663b..be8bdff 100644 --- a/qad/QADDeploy.cmake +++ b/qad/QADDeploy.cmake @@ -24,7 +24,7 @@ macro(deploy_target _T full_app_name version icon label copyright info) endif() endif() endforeach() - message("app depend libpath ${_DEP_LIBPATH}") + #message("app depend libpath ${_DEP_LIBPATH}") if (APPLE) set(MACOSX_BUNDLE_GUI_IDENTIFIER "${full_app_name}") set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${version}") diff --git a/qad/QtWraps.cmake b/qad/QtWraps.cmake index a529df1..b4ed770 100644 --- a/qad/QtWraps.cmake +++ b/qad/QtWraps.cmake @@ -484,6 +484,7 @@ endmacro() # to corresponding Qt translation directory # if DESTINATION starts with "QtPlugins" files will be installed # to corresponding Qt plugins directory +# add LANG type for first argument macro(qt_install) set(_prev_inst) #message("command: ${ARGN}") @@ -541,7 +542,7 @@ macro(qt_install) endif() endif() else() - set(_INST_LIST ${_INST_LIST} ${_i}) + set(_ii ${_i}) if ("x${_i}" STREQUAL "xTARGETS") set(_IS_TARGET 1) else() @@ -550,9 +551,16 @@ macro(qt_install) else() if ("x${_i}" STREQUAL "xDESTINATION") set(_IS_DEST 1) + else() + if ("x${_i}" STREQUAL "xLANG") + set(_IS_FILES 1) + set(_IS_LANG 1) + set(_ii "FILES") + endif() endif() endif() endif() + set(_INST_LIST ${_INST_LIST} ${_ii}) endif() endif() endif()