I'm getting the following error when running cmake in a clean build directory:
CMake Error at CMakeLists.txt:209 (list):
list GET given empty list
This happens since commit 76f472aca2. I was bypassing the problem by just reverting that commit in my local copy of the repo. However, the latest changes in the file changed by that commit created conflicts with my revert, so better to know what's happening and solve it instead of just ignoring it.
The error happens even when no options are passed to
cmake; I also tested it with the
Ninja build systems, but the error persists.