[cmake] Fix install

Merged Timo Koch requested to merge feature/cmake-fix-install into master

Merge request reports