CMakeLists.txt

I updated the CMakeLists.txt so that it can be used as a git submodule.