Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ endif()

# dependencies
find_package(MPI REQUIRED)
find_package(mpicpp-lite 2.1 REQUIRED)

find_package(HDF5 REQUIRED COMPONENTS C HL)
find_package(Boost CONFIG)
Expand Down Expand Up @@ -277,6 +278,7 @@ target_link_libraries(libopensn
${VTK_LIBRARIES}
caliper
${HDF5_LIBRARIES}
mpicpp-lite::mpicpp-lite
MPI::MPI_CXX
)
if (OPENSN_WITH_CUDA)
Expand Down
2 changes: 2 additions & 0 deletions cmake/OpenSnConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set(OPENSN_VERSION @PROJECT_VERSION@)
include("${CMAKE_CURRENT_LIST_DIR}/OpenSnTargets.cmake")
include(FindPackageHandleStandardArgs)

find_dependency(mpicpp-lite 2.1 REQUIRED)

find_library(OPENSN_LIBRARY NAMES opensn HINTS ${PACKAGE_PREFIX_DIR}/lib NO_DEFAULT_PATH)
find_path(OPENSN_INCLUDE_DIR framework/runtime.h HINTS ${PACKAGE_PREFIX_DIR}/include/opensn)

Expand Down
Loading