Skip to content

Commit 7016e43

Browse files
committed
Update code style
1 parent 42463b4 commit 7016e43

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/cmake/cmake-code-style.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,11 +412,11 @@ by:
412412
find_package(PackageName)
413413
```
414414

415-
It sets variable `<PackageName>_FOUND` and other optional variables, such as
416-
`<PackageName>_VERSION`, `<PackageName>_INCLUDE_DIRS`, which are managed by
417-
CMake's `FindPackageHandleStandardArgs`. Recommendation for find modules is that
418-
they should expose imported targets, such as `PackageName::PackageName` which
419-
can be then linked to a target in the project:
415+
This sets variable `<PackageName>_FOUND` variable, which is managed by the
416+
CMake's
417+
[FindPackageHandleStandardArgs](https://cmake.org/cmake/help/latest/module/FindPackageHandleStandardArgs.html)
418+
module. Find modules should expose imported targets, such as
419+
`PackageName::PackageName` which can be then linked to a target in the project:
420420

421421
```cmake
422422
find_package(PackageName)

0 commit comments

Comments
 (0)