cmake_minimum_required(VERSION 3.22...4.2)
project(metal_example_hello_world_compute_kernel)

add_executable(metal_example_hello_world_compute_kernel)
target_sources(metal_example_hello_world_compute_kernel PRIVATE hello_world_compute_kernel.cpp)

if(NOT TARGET TT::Metalium)
    find_package(TT-Metalium REQUIRED)
endif()
target_link_libraries(metal_example_hello_world_compute_kernel PUBLIC TT::Metalium)
if(TARGET TT::CommonPCH)
    tt_reuse_precompile_headers(metal_example_hello_world_compute_kernel TT::CommonPCH)
endif()
