@PACKAGE_INIT@

find_package (Eigen3 CONFIG)

if(NOT TARGET Spectra::Spectra)
  include(${CMAKE_CURRENT_LIST_DIR}/Spectra-targets.cmake)
endif()

@PACKAGE_INIT@

find_dependency (Eigen3 CONFIG)

if(NOT TARGET Spectra::Spectra)
  include(${CMAKE_CURRENT_LIST_DIR}/Spectra-targets.cmake)
endif()

Use find_dependency Eigen in config file
Use find_dependency Eigen in config file