Skip to content

Commit

Permalink
CMake: find_dependency(adiak) if Adiak used (LLNL#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibaned authored Nov 17, 2021
1 parent 7e66987 commit e677f71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions caliper-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ if (NOT caliper_CONFIG_LOADED)
include(CMakeFindDependencyMacro)
find_dependency(Threads)

if (@CALIPER_HAVE_ADIAK@)
find_dependency(adiak)
endif()

# Library targets imported from file
include(${caliper_CMAKE_DIR}/caliper-targets.cmake)
endif()

0 comments on commit e677f71

Please sign in to comment.