[MAT-474] Export the source root for use in other cmake builds.

This adds the source root directory as a variable to the export file such that it can be used in other cmake builds (essentially for obtaining license files).