https://github.com/Kitware/CMake
Revision 56d949f05f37c65401825a30be0d39bd152cc33c authored by Brad King on 01 November 2021, 12:09:15 UTC, committed by Brad King on 01 November 2021, 12:09:15 UTC
In commit 0723b2c935 (MPI: Add fallback detection code for MPI when cross
compiling, 2021-09-17, v3.22.0-rc1~89^2) the FindPkgConfig module was
included directly.  This produces warnings like:

    The package name passed to `find_package_handle_standard_args` (PkgConfig)
    does not match the name of the calling package (MPI).

Use `find_package(PkgConfig)` instead, as other find modules do.

Fixes: #22823
1 parent 6b64cc1
Raw File
Tip revision: 56d949f05f37c65401825a30be0d39bd152cc33c authored by Brad King on 01 November 2021, 12:09:15 UTC
FindMPI: Fix finding PkgConfg for fallback
Tip revision: 56d949f
.gitattributes
.git*            export-ignore
.hooks*          export-ignore
.codespellrc     export-ignore
.editorconfig    export-ignore

# Custom attribute to mark sources as using our C code style.
[attr]our-c-style  whitespace=tab-in-indent  format.clang-format-6.0

# Custom attribute to mark sources as generated.
# Do not perform whitespace checks.  Do not format.
[attr]generated  whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format-6.0

bootstrap        eol=lf
configure        eol=lf
*.[1-9]          eol=lf
*.bash           eol=lf
*.sh             eol=lf
*.sh.in          eol=lf

*.bat            eol=crlf
*.bat.in         eol=crlf
*.sln            eol=crlf
*.vcproj         eol=crlf

*.pfx            -text
*.png            -text
*.png.in         -text

*.c              our-c-style
*.cc             our-c-style
*.cpp            our-c-style
*.cu             our-c-style
*.cxx            our-c-style
*.h              our-c-style
*.hh             our-c-style
*.hpp            our-c-style
*.hxx            our-c-style
*.notcu          our-c-style

*.cmake          whitespace=tab-in-indent
*.rst            whitespace=tab-in-indent conflict-marker-size=79
*.txt            whitespace=tab-in-indent
back to top