# Minimal consumer for the Debian packaging smoke test (debian/tests/find-package).
# Confirms find_package(hipfort) succeeds from the installed libhipfort-dev
# package, that hipfort::hipfort-amdgcn's declared include directories
# actually contain its .mod files, and that its declared IMPORTED_LOCATION
# archive actually exists and links.
cmake_minimum_required(VERSION 3.18)
project(hipfort_smoke_consumer Fortran)

find_package(hipfort REQUIRED)

add_executable(smoke smoke.f90)
target_link_libraries(smoke PRIVATE hipfort::hipfort-amdgcn)
