A user reported an AssertionError being raised when parsing one of their CMakeLists.txt. Turns out the error was raised when parsing the following line:
include_directories()
The assertion expected this command to have one or more arguments, which is also what the documentation states.
So, while I do not think this is really a bug, but rather a malformed CMake file, I am going to turn the assertion into a warning.
A user reported an
AssertionError
being raised when parsing one of theirCMakeLists.txt
. Turns out the error was raised when parsing the following line:The assertion expected this command to have one or more arguments, which is also what the documentation states. So, while I do not think this is really a bug, but rather a malformed CMake file, I am going to turn the assertion into a warning.