add -Wall in cmakelist