Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find ADIOS2 CXX only #3613

Merged
merged 1 commit into from
Feb 1, 2025
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
4 changes: 2 additions & 2 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,9 @@ set_package_properties(
# ------------------------------------------------------------------------------
# Find optional packages
if(DOLFINX_ENABLE_ADIOS2 AND _REQUIRE_ADIOS2)
find_package(ADIOS2 2.8.1 REQUIRED)
find_package(ADIOS2 2.8.1 REQUIRED COMPONENTS CXX)
elseif(DOLFINX_ENABLE_ADIOS2)
find_package(ADIOS2 2.8.1)
find_package(ADIOS2 2.8.1 COMPONENTS CXX)
endif()
if(ADIOS2_FOUND AND NOT ADIOS2_HAVE_MPI)
message(
Expand Down
2 changes: 1 addition & 1 deletion cpp/cmake/templates/DOLFINXConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ if(@SLEPC_FOUND@)
endif()

if(@ADIOS2_FOUND@)
find_dependency(ADIOS2 2.8.1)
find_dependency(ADIOS2 2.8.1 COMPONENTS CXX)
endif()

if(NOT TARGET dolfinx)
Expand Down
Loading