Getting Error in CMake Libtorch

Hi,
I’m getting CMake error while doing cmake -DCMAKE_PREFIX_PATH=…/…/libtorch … . Yesterday I followed the same step, which is on Pytorch. I’m able to build it successfully on my laptop, but when I’m doing the same I’m getting an error like

I looked all the answer which are relevant to this, but all that didn’t let me to the conclusion. Can someone help me in this regard?
Thank you.

Have you checked and made sure that there is a libtorch installation at ../../libtorch? Also another thing to try is to remove the ~/example-app/build folder, recreate it again and then rerun the steps.