How to include PhysX 4.0 in a CMake project

Hi, I am currently working on a university project and I wanted to use PhysX 4.0. I included the library with the help of this CMakeList: That worked, but now I am getting compiler errors. C2220 and C4464 to be exact. I hope, that you can help me.