Changes made in cmakelist.txt for stoping the errors  which came at the time of compiling