[cmake] Fix install of CMake modules

Merged Christoph Grüninger requested to merge fix/install-cmake-modules into master

Merge request reports