add cmake module
modify CMakeLists.txt