Skip to content

Commit

Permalink
modify cmake config to make it easier for external libraries to find
Browse files Browse the repository at this point in the history
  • Loading branch information
nmm0 committed Jun 7, 2023
1 parent db115e3 commit 68cffa2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/resilienceConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SET(KR_ENABLE_HDF5 @KR_ENABLE_HDF5@)
SET(KR_ENABLE_VELOC @KR_ENABLE_VELOC@)

# VeloC needs to add a cmake config...
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/Modules/" "${CMAKE_CURRENT_LIST_DIR}/../Modules/")
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../Modules/" "${CMAKE_CURRENT_LIST_DIR}/../cmake/Modules/")
message(STATUS "Module path: ${CMAKE_MODULE_PATH}")

find_dependency(Kokkos REQUIRED NO_CMAKE_PACKAGE_REGISTRY HINTS @Kokkos_DIR@)
Expand All @@ -28,6 +28,7 @@ endif()
if (@KR_ENABLE_MAGISTRATE@)
set(CHECKPOINT_DIR @CHECKPOINT_DIR@)
find_dependency(checkpoint REQUIRED)
set(KR_ENABLE_MAGISTRATE @KR_ENABLE_MAGISTRATE@)
endif()

set(Boost_DIR @Boost_DIR@)
Expand Down

0 comments on commit 68cffa2

Please sign in to comment.