1# Basic CMake setup 2cmake_minimum_required(VERSION 3.1 FATAL_ERROR) 3project(jit_hooks) 4 5if(USE_ROCM) 6include(utils) 7include(LoadHIP) 8endif() 9find_package(Torch REQUIRED) 10 11add_executable(test_jit_hooks test_jit_hooks.cpp) 12set_property(TARGET test_jit_hooks PROPERTY CXX_STANDARD 17) 13target_link_libraries(test_jit_hooks "${TORCH_LIBRARIES}") 14