summaryrefslogtreecommitdiff
path: root/lib/spack/spack/build_systems/cmake.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/build_systems/cmake.py')
-rw-r--r--lib/spack/spack/build_systems/cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/cmake.py b/lib/spack/spack/build_systems/cmake.py
index 5d70994bd4..92c319b0ab 100644
--- a/lib/spack/spack/build_systems/cmake.py
+++ b/lib/spack/spack/build_systems/cmake.py
@@ -218,7 +218,7 @@ class CMakePackage(PackageBase):
:return: directory where to build the package
"""
- return os.path.join(self.stage.source_path, 'spack-build')
+ return os.path.join(self.stage.path, 'spack-build')
def cmake_args(self):
"""Produces a list containing all the arguments that must be passed to