Update cmake scripts to v1.7

Merged Sebastian Müller requested to merge cmake_scripts_update_v1.7 into main

Merge request reports