Update CMakeLists.txt

Update of the warnings for the compilation