Problem with newest version of libtorch

I followed the tutorial here to make a c++ front-end application for pytorch:

https://pytorch.org/tutorials/advanced/cpp_frontend.html

I used GPU version. I could succesfully cmake and make.

Now I updated to the latest version of libtorch. I can still cmake, but on make, I get the following error:

[willem@int2 build]$ make
make[2]: *** No rule to make target `/sw/arch/RedHatEnterpriseServer7/EB_production/2019/software/cuDNN/7.6.5.32-CUDA-10.1.243/include/lib64', needed by `polIter'.  Stop.
make[1]: *** [CMakeFiles/polIter.dir/all] Error 2
make: *** [all] Error 2

Any ideas on what is causing this?