Added simple CMakeLists.txt
Removed unnecessary error check in CMakeLists.txt
Merge pull request #1 from Yepoleb/cmake

Add CMake support