diff --git a/DeployMacros.cmake b/DeployMacros.cmake index 4972476..bfae6d7 100644 --- a/DeployMacros.cmake +++ b/DeployMacros.cmake @@ -377,7 +377,7 @@ macro(get_system _OS _ARCH) endforeach() endif() find_file(_release_file NAMES os-release lsb-release PATHS ${_paths} NO_DEFAULT_PATH) - if ("${_release_file}") + if (_release_file) file(STRINGS "${_release_file}" _lines) foreach(_l ${_lines}) if ("${_l}" MATCHES "VERSION_ID=.*")