From 082b97d90c50f11cbbb827c07773df364c722698 Mon Sep 17 00:00:00 2001 From: guj Date: Wed, 13 Dec 2023 21:44:39 -0800 Subject: [PATCH] make AMREX_USE_OPENPMD_API flag visible --- Src/Extern/openPMD-api/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Src/Extern/openPMD-api/CMakeLists.txt b/Src/Extern/openPMD-api/CMakeLists.txt index d9e6aeff11b..5efff9e9449 100644 --- a/Src/Extern/openPMD-api/CMakeLists.txt +++ b/Src/Extern/openPMD-api/CMakeLists.txt @@ -1,3 +1,5 @@ +add_amrex_define(AMREX_USE_OPENPMD_API NO_LEGACY IF AMReX_OPENPMD_API) + foreach(D IN LISTS AMReX_SPACEDIM) target_include_directories( amrex_${D}d