Dear @kaixin,
Thank you for your response. I have installed LibTorch  successfully via CMake. But when I want to use LibTorch in another C++ project via #include <torch/torch.h> error occurs that there isn’t such header file. But when I have used #include <torch/script.h> then the code has been run correctly.
Actually I am newbie in using CMake. Maybe it is because I haven’t used CMake correctly. My used CMake is something like this (CMake for using LibTorch in another C++ projects):
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(Torch2)

find_package(Torch REQUIRED)

add_executable(Torch2 main.cpp)
include_directories("/data/Codes/CPP/ClionProjects/Torch1/libtorch/include/ATen")
target_link_libraries(Torch2 "/data/Codes/CPP/ClionProjects/Torch1/libtorch/lib/libtorch.so")
target_link_libraries(Torch2 "${TORCH_LIBRARIES}")
set_property(TARGET Torch2 PROPERTY CXX_STANDARD 11)


It is worth noting that, I have used Ubuntu 16.04 LTS, CUDA 9.0 and this my C++ code:
#include <torch/script.h>
#include <iostream>
using namespace std;

int main()
{
    std::cout << "Hello, World!" << std::endl;

    at::Tensor tensor = torch::rand({2, 3});
    std::cout << tensor << std::endl;
    
    return 0;
}


I will be appreciate you if tell me about incorrect things in the CMake file.