From 9bba0642b5269336dc6fb03e42c30231e5fec178 Mon Sep 17 00:00:00 2001 From: Norbert Podhorszki Date: Wed, 29 Jan 2025 10:23:48 -0500 Subject: [PATCH] Add sodium to libadios2_core if used --- source/adios2/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/adios2/CMakeLists.txt b/source/adios2/CMakeLists.txt index 1664558549..9a9a426c62 100644 --- a/source/adios2/CMakeLists.txt +++ b/source/adios2/CMakeLists.txt @@ -263,7 +263,10 @@ if(ADIOS2_HAVE_Campaign) engine/campaign/CampaignData.cpp engine/campaign/CampaignManager.cpp) target_link_libraries(adios2_core PRIVATE SQLite::SQLite3 ZLIB::ZLIB) -endif() + if(ADIOS2_HAVE_Sodium) + target_link_libraries(adios2_core PRIVATE sodium) + endif(ADIOS2_HAVE_SODIUM) +endif(ADIOS2_HAVE_Campaign) if(ADIOS2_HAVE_DAOS) target_sources(adios2_core PRIVATE toolkit/transport/file/FileDaos.cpp