openPMD / openPMD-api

:floppy_disk: C++ & Python API for Scientific I/O
https://openpmd-api.readthedocs.io
GNU Lesser General Public License v3.0
138 stars 51 forks source link

CMake: Config Package openPMD Standard #225

Open ax3l opened 6 years ago

ax3l commented 6 years ago

It would be cool if one could also narrow down the required openPMD-standard version while searching for openPMDConfig.cmake packages.

ax3l commented 6 years ago

The simplest way to implement this: With a set variable before find_package, similar to _PREFER_PARALLEL in HDF5/ADIOS.