If required_libs happens to remain empty, CMake would bail out with:
list sub-command REVERSE requires list to be present.
Fix by ensuring we do not attempt to reverse an empty list.
Differential D51799
[CMake] Avoid REVERSE on empty list svenvh on Sep 7 2018, 9:23 AM. Authored by
Details If required_libs happens to remain empty, CMake would bail out with: list sub-command REVERSE requires list to be present. Fix by ensuring we do not attempt to reverse an empty list.
Diff Detail |