Installation problems libtorch

I have done all the requirements,but it doesn’t work. My os is windows ,I work on visual studio.I installed cuda toolkit 12.1, cmake the latest version, and libtorch 12.1 release version. I followed the instructions from the page,I had to download nsight nvtx 11.8,but further wasn’t any problems.

after the last command nothing changed , I still can’t use pytorch c++, cmake prints next:

Severity	Code	Description	Project	File	Line	Suppression State	Details
Error		CMake Error at C:\Users\Acer\C++ projects\fraimworks\example-app\CMakeLists.txt:4 (find_package):
  By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has

Which path did you use for -DCMAKE_PREFIX_PATH?
The absolute path or the one from the Python package?

I wrote the path to the libtorch cmake -DCMAKE_PREFIX_PATH=C:\Packages\libtorch …