I am asking because if I run this



 tom:

Torch_DIR=/Desktop/sarvagya/project_folder/env/lib/python3.7/site-packages/torch/share/cmake cmake


I get this:
cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>
  cmake [options] -S <path-to-source> -B <path-to-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.

And when I run
Torch_DIR=/Desktop/sarvagya/project_folder/env/lib/python3.7/site-packages/torch/share/cmake cmake -DCMAKE_PREFIX_PATH=/Desktop/sarvagya/project_folder/env/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch ..
I get this:
CMake Error at CMakeLists.txt:4 (find_package):
  By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Torch", but
  CMake did not find one.

  Could not find a package configuration file provided by "Torch" with any of
  the following names:

    TorchConfig.cmake
    torch-config.cmake

  Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set
  "Torch_DIR" to a directory containing one of the above files.  If "Torch"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/home/pi/Desktop/sarvagya/cpp/dcgan/build/CMakeFiles/CMakeOutput.log".