CMake: Fix for "The source directory does not contain CMakeLists.txt".
authorOleksii Serdiuk <contacts@oleksii.name>
Tue, 29 Oct 2013 16:25:06 +0000 (17:25 +0100)
committerhjk <hjk121@nokiamail.com>
Thu, 14 Nov 2013 14:05:25 +0000 (15:05 +0100)
commit62c00cfaedff6e5d0a75a5fa19b178fb26a69b82
treeafb8e71a0b77a997fcc63425cb0e4b189f83047c
parent9705ed8a1bf92f5b25c8ba491c45e27901126f91
CMake: Fix for "The source directory does not contain CMakeLists.txt".

CMakeBuildInfo::sourceDirectory wasn't always populated, which sometimes
led to 'CMake Error: The source directory "<path>" does not appear to
contain CMakeLists.txt.' error when re-running CMake for shadow builds.

Change-Id: I4caece897155ee9e056d2da8185da43b94cbd99d
Reviewed-by: hjk <hjk121@nokiamail.com>
src/plugins/cmakeprojectmanager/cmakebuildinfo.h