fix issue for separate build dir
Merge pull request #120 from kljohann/cmake.docs

fix issue for separate build dir