colcon / colcon-cmake

Extension for colcon to support CMake packages
http://colcon.readthedocs.io
Apache License 2.0
16 stars 25 forks source link

Fix TypeError when CMAKE_GENERATOR isn't present #128

Closed vineet131 closed 11 months ago

vineet131 commented 1 year ago

While building, I received this error at the line corrected: TypeError: argument of type 'NoneType' is not iterable

This happens because get_variable_from_cmake_cache() returns None. This line fixes it.