If I try to export my project to a template i get the error message <path-to-vgdbcmake-directory>CMakeLists.txt not found (which is two levels higher in the directorys level).
Most likely, you have previously selected an incompatible combination of settings somewhere.
If you could share the exact steps to reproduce the problem from scratch per our problem reporting guidelines, we should be able to help you get it working.