py-nanobind add cmake path (#40079)
* py-nanobind add cmake path * fix style --------- Co-authored-by: Robert Underwood <runderwood@anl.gov>
This commit is contained in:
parent
6859694e8e
commit
ef165c80b3
@ -36,3 +36,8 @@ class PyNanobind(PythonPackage):
|
||||
|
||||
depends_on("py-cmake@3.17:", type="build")
|
||||
depends_on("py-ninja", type="build")
|
||||
|
||||
@property
|
||||
def cmake_prefix_paths(self):
|
||||
paths = [join_path(self.prefix, self.spec["python"].package.platlib, "nanobind", "cmake")]
|
||||
return paths
|
||||
|
Loading…
Reference in New Issue
Block a user