openPMD-api: Build Env Fix & Dev (#14904)

- fix a missing `env.` prefix in the build environment.
- rename development branch to same name as in git
This commit is contained in:
Axel Huebl 2020-02-12 01:02:01 -08:00 committed by GitHub
parent b5a3ee636b
commit 3b2c534e73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ class OpenpmdApi(CMakePackage):
maintainers = ['ax3l']
version('develop', branch='dev')
version('dev', branch='dev')
version('0.10.3', tag='0.10.3-alpha')
version('0.10.2', tag='0.10.2-alpha')
version('0.10.1', tag='0.10.1-alpha')
@ -114,4 +114,4 @@ def setup_dependent_build_environment(self, env, dependent_spec):
# pre-load dependent CMake-PUBLIC header-only libs
env.prepend_path('CMAKE_PREFIX_PATH',
self.spec['mpark-variant'].prefix)
prepend_path('CPATH', self.spec['mpark-variant'].prefix.include)
env.prepend_path('CPATH', self.spec['mpark-variant'].prefix.include)