Merge pull request #6146 from Qix-/main cmake: use project-specific root variable instead of CMAKE_SOURCE_DIR