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
History
Tip revision: 56d949f05f37c65401825a30be0d39bd152cc33c authored by Brad King on 01 November 2021, 12:09:15 UTC
FindMPI: Fix finding PkgConfg for fallback
Tip revision: 56d949f
File Mode Size
MSBuild
Windows
AppleInfo.plist -rw-r--r-- 1.1 KB
CMakeVSMacros1.vsmacros -rw-r--r-- 86.0 KB
CMakeVSMacros2.vsmacros -rw-r--r-- 62.0 KB
CPack.GenericDescription.txt -rw-r--r-- 138 bytes
CPack.GenericLicense.txt -rw-r--r-- 101 bytes
CPack.GenericWelcome.txt -rw-r--r-- 96 bytes
CPackConfig.cmake.in -rw-r--r-- 751 bytes
CTestScript.cmake.in -rw-r--r-- 1.4 KB
TestDriver.cxx.in -rw-r--r-- 4.9 KB

back to top