add debug message in cmakelist