In this [specific line](https://github.com/rticommunity/rticonnextdds-examples/blob/master/resources/cmake/ConnextDdsCodegen.cmake#L449) the `headers` variable was used but it was not initialized before.