cmake_minimum_required( VERSION 3.15 )

set( lapackpp_use_cuda   "@lapackpp_use_cuda@" )
set( lapackpp_use_hip    "@lapackpp_use_hip@" )
set( lapackpp_use_sycl   "@lapackpp_use_sycl@" )

include( CMakeFindDependencyMacro )

find_dependency( blaspp )

if (lapackpp_use_hip)
    find_dependency( rocblas   )
    find_dependency( rocsolver )
endif()

# Export variables.
set( lapackpp_defines   "@lapackpp_defines@" )
set( lapackpp_libraries "@lapackpp_libraries@" )

include("${CMAKE_CURRENT_LIST_DIR}/lapackppTargets.cmake")
