summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRobert Underwood <robertu94@users.noreply.github.com>2023-09-21 14:15:02 -0400
committerGitHub <noreply@github.com>2023-09-21 13:15:02 -0500
commitef165c80b35b1b7b7cedeff9a479f3ec6792b55f (patch)
treee689753963f35043a5dc5ba671204b8aac2b4883 /var
parent6859694e8e26ff43e616c433a069c6b5572de374 (diff)
downloadspack-ef165c80b35b1b7b7cedeff9a479f3ec6792b55f.tar.gz
spack-ef165c80b35b1b7b7cedeff9a479f3ec6792b55f.tar.bz2
spack-ef165c80b35b1b7b7cedeff9a479f3ec6792b55f.tar.xz
spack-ef165c80b35b1b7b7cedeff9a479f3ec6792b55f.zip
py-nanobind add cmake path (#40079)
* py-nanobind add cmake path * fix style --------- Co-authored-by: Robert Underwood <runderwood@anl.gov>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nanobind/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nanobind/package.py b/var/spack/repos/builtin/packages/py-nanobind/package.py
index 6040279233..5c4f5cb60d 100644
--- a/var/spack/repos/builtin/packages/py-nanobind/package.py
+++ b/var/spack/repos/builtin/packages/py-nanobind/package.py
@@ -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