revise the cmake file