diff --git a/cmake/DeployMacros.cmake b/cmake/DeployMacros.cmake index 3c01f544..8198152d 100644 --- a/cmake/DeployMacros.cmake +++ b/cmake/DeployMacros.cmake @@ -400,7 +400,7 @@ macro(deploy_target _T) set(_D_echof ">" "${_AGD}/usr/share/applications/${_DEBNAME}.desktop") set(_D_echo ">>" "${_AGD}/usr/share/applications/${_DEBNAME}.desktop") macro(__make_copy _cmd _dirs _files _dest) - if (_dirs OR _files) + if (${_dirs} OR ${_files}) set(${_cmd} ${${_cmd}} COMMAND mkdir -p "${_dest}") endif() foreach(_d ${${_dirs}})