again the same... btw don't you feel that you are basically copy-pasting functions that could be defined by a cmake macro/function