commit | cddb21ca9da5e09c03b0516dce2a9e6a24760207 | [log] [tgz] |
---|---|---|
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | Wed Sep 26 10:14:10 2018 +0000 |
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | Wed Sep 26 10:14:10 2018 +0000 |
tree | 86314337775cd9ff77b0911ba4368625c42a2484 | |
parent | 0553ec29cdf7b5206b9432819c0e51349bcdf9b5 [diff] |
[CMake] Avoid REVERSE on unset variable If required_libs happens to remain unset, CMake would fail with: list sub-command REVERSE requires list to be present. Fix by ensuring we do not attempt to reverse an unset variable. Reported by Tu Vuong. Differential Revision: https://reviews.llvm.org/D51799 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343088 91177308-0d34-0410-b5e6-96231b3b80d8