add cmake
fix CMakeLists.txt