@raptort3000 That only works with `genmsg` version 0.4.18 and greater, if you are not using that then you need to use something like:

```
add_dependencies(ublox_gps ublox_msgs_generate_messages_cpp)
```

I would not recommend trying to do logic based on the `genmsg` version, rather I would just use the above snippet and in a week or so when the new version of `genmsg` gets to public start using the new, preferred method.