summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authoraiotter <git@aiotter.com>2022-07-16 19:05:28 +0900
committeraiotter <git@aiotter.com>2022-07-16 19:10:31 +0900
commitdbd75e3229ba71210e60b32f36958fdbc4f50f3b (patch)
tree758413cc27b57ed690748aa32ae1406b2e57fbf6 /doc
parent8eb14e7e79d6c34a9cce146182bfc8c820d527c2 (diff)
doc: update cmake doc for better readability
Diffstat (limited to 'doc')
-rw-r--r--doc/stdenv/stdenv.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md
index 4daaea5c17ff..5f7f45dc4437 100644
--- a/doc/stdenv/stdenv.chapter.md
+++ b/doc/stdenv/stdenv.chapter.md
@@ -1218,7 +1218,7 @@ The `validatePkgConfig` hook validates all pkg-config (`.pc`) files in a package
### cmake {#cmake}
-Overrides the default configure phase to run the CMake command. By default, we use the Make generator of CMake. In addition, dependencies are added automatically to CMAKE_PREFIX_PATH so that packages are correctly detected by CMake. Some additional flags are passed in to give similar behavior to configure-based packages. You can disable this hook’s behavior by setting configurePhase to a custom value, or by setting dontUseCmakeConfigure. cmakeFlags controls flags passed only to CMake. By default, parallel building is enabled as CMake supports parallel building almost everywhere. When Ninja is also in use, CMake will detect that and use the ninja generator.
+Overrides the default configure phase to run the CMake command. By default, we use the Make generator of CMake. In addition, dependencies are added automatically to `CMAKE_PREFIX_PATH` so that packages are correctly detected by CMake. Some additional flags are passed in to give similar behavior to configure-based packages. You can disable this hook’s behavior by setting `configurePhase` to a custom value, or by setting `dontUseCmakeConfigure`. `cmakeFlags` controls flags passed only to CMake. By default, parallel building is enabled as CMake supports parallel building almost everywhere. When Ninja is also in use, CMake will detect that and use the ninja generator.
### xcbuildHook {#xcbuildhook}