summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter P <pieter.pas@outlook.com>2024-03-18 10:02:33 +0100
committerGitHub <noreply@github.com>2024-03-18 10:02:33 +0100
commit429c3598af387ec05761834adcd7be97f89fe59c (patch)
tree1aa467f407ea913afb4fee94fdc0fd4c9c80dad0
parent3d8136493a62c382bc8269d014a4503d7fe05f4d (diff)
downloadspack-429c3598af387ec05761834adcd7be97f89fe59c.tar.gz
spack-429c3598af387ec05761834adcd7be97f89fe59c.tar.bz2
spack-429c3598af387ec05761834adcd7be97f89fe59c.tar.xz
spack-429c3598af387ec05761834adcd7be97f89fe59c.zip
Fix CMake generator documentation (#43232)
-rw-r--r--lib/spack/docs/build_systems/cmakepackage.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/docs/build_systems/cmakepackage.rst b/lib/spack/docs/build_systems/cmakepackage.rst
index 140fa34e3e..ca8d4589c9 100644
--- a/lib/spack/docs/build_systems/cmakepackage.rst
+++ b/lib/spack/docs/build_systems/cmakepackage.rst
@@ -250,7 +250,7 @@ generator is Ninja. To switch to the Ninja generator, simply add:
.. code-block:: python
- generator = "Ninja"
+ generator("ninja")
``CMakePackage`` defaults to "Unix Makefiles". If you switch to the