Skip to content

Commit 082b97d

Browse files
committed
make AMREX_USE_OPENPMD_API flag visible
1 parent dd3c0c9 commit 082b97d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Src/Extern/openPMD-api/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
add_amrex_define(AMREX_USE_OPENPMD_API NO_LEGACY IF AMReX_OPENPMD_API)
2+
13
foreach(D IN LISTS AMReX_SPACEDIM)
24

35
target_include_directories( amrex_${D}d

0 commit comments

Comments
 (0)