Compiling errors and using Cmake Set Policy

--------------------------------------------------------------------------------

Hello,

I'm new to the world of compiling in Linux and I thought...