From 429c3598af387ec05761834adcd7be97f89fe59c Mon Sep 17 00:00:00 2001 From: Pieter P Date: Mon, 18 Mar 2024 10:02:33 +0100 Subject: Fix CMake generator documentation (#43232) --- lib/spack/docs/build_systems/cmakepackage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2