cmake: Fix finding corresponding source directory from build directory
When trying to find the corresponding source directory for a build directory,
it is better to just read it out of the CMakeDirectoryInformation.cmake file
found in the CMakeFiles subdirectory of the build directory, instead of
guessing it using the relative paths.
Change-Id: Ie96b3255a27f46bcd7f0ab1566dfb91ac52f3be9
Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
Showing
Please register or sign in to comment