fixed some waring
update CMakeLists.txt to install post-install