edited Cmakelists.txt to ignore some of the warnings generated while compiling