Files
CMake/Modules
Alexandru Croitor ab8bd48352 FindPkgConfig: Search for pkg-config.bat file on a Windows host
The strawberry perl distribution ships a pkg-config file and a
pkg-config.bat file.

find_program() does not usually look for a .bat file program unless
explicitly specified in the NAMES argument. This would cause
CMake to find the non-bat file, and executing that with
execute_process() leads to a
'%1 is not a valid Win32 application' error.

Prefer to search for pkg-config.bat file when on a Windows host, in
additiona to the regular pkg-config file.

Fixes: #21239
2020-09-25 15:56:05 +02:00
..
2020-07-02 00:37:34 +05:30
2020-07-02 00:38:40 +05:30
2020-07-02 00:43:40 +05:30
2020-07-07 09:22:28 -04:00
2020-07-07 09:22:28 -04:00
2020-08-25 14:34:02 -04:00
2020-07-02 00:40:09 +05:30
2020-07-01 10:55:32 -04:00
2020-07-02 00:44:08 +05:30
2020-07-27 10:43:55 -04:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/dev/Module-Maintainers