After following the instructions found at Get Involved/development/Set up a development environment. I got some strange errors running my sample CMAKE file.
After while i found a this issue where i found out to add the following development packages.
Now i can run my cmake file without any errors.