Hi,
you need to add the somewhat hidden <installation dir>/include/torch/csrc/api/include to the includes.
If you create the CMakeLists.txt as in the example 298, the TorchConfig.cmake should set it up for you up when running find_package(Torch REQUIRED).
Best regards
Thomas