hepmc3: fix from_variant -> self.define (#41605)
* hepmc3: fix from_variant -> self.define * hepmc3: str on versions
This commit is contained in:
parent
965860d1f8
commit
f01774f1d4
@ -63,8 +63,8 @@ def cmake_args(self):
|
|||||||
py_ver = spec["python"].version.up_to(2)
|
py_ver = spec["python"].version.up_to(2)
|
||||||
args.extend(
|
args.extend(
|
||||||
[
|
[
|
||||||
from_variant("HEPMC3_PYTHON_VERSIONS", str(py_ver)),
|
self.define("HEPMC3_PYTHON_VERSIONS", str(py_ver)),
|
||||||
from_variant("HEPMC3_Python_SITEARCH" + py_ver.joined, python_platlib),
|
self.define("HEPMC3_Python_SITEARCH" + str(py_ver.joined), python_platlib),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user