diff --git a/Src/CMakeLists.txt b/Src/CMakeLists.txt index f1be5e7677b..e25a9cd4a64 100644 --- a/Src/CMakeLists.txt +++ b/Src/CMakeLists.txt @@ -200,7 +200,7 @@ if (AMReX_HDF5) add_subdirectory(Extern/HDF5) endif () -if (AMReX_OPENPMD_API) +if (AMReX_OPENPMD) add_subdirectory(Extern/openPMD-api) endif()