Autodetect the cmake source directory