You don't give much information, but the most likely cause is that you forgot an add_dependencies() for the relevant build target, causing it to be built before the messages.
You don't give much information, but the most likely cause is that you forgot an add_dependencies() for the relevant build target, causing it to be built before the messages.