Add @naraku9333's CMakeLists.txt from #41

* Resolves #41
* Resolves #31