Comment 8 for bug 1117852

Revision history for this message
Pali (pali) wrote :

I will need to rewrite this part which generating version, because it breaking also cross compilation.

cybermind, can you test if instead your change this will work (removing full path to genversion)?

===
add_custom_target(version ALL genversion ...)
===

Using RUNTIME_OUTPUT_DIRECTORY is not good idea, because this can be changed by global cmake variable. And cmake should know where it has generated binaries.