]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: expand `CURL_USE_PKGCONFIG` to non-cross `MINGW`
authorViktor Szakats <commit@vsz.me>
Tue, 20 Aug 2024 09:13:19 +0000 (11:13 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 20 Sep 2024 22:59:51 +0000 (00:59 +0200)
commite1ab01d1bd13f0ec79c97ac7e19e4b8108dce270
treeba3db8910215a6455a194e8187a2377ce3db60e8
parentc5e3d8ba94791dbc51f98a56ce07b3ba6b0aa446
cmake: expand `CURL_USE_PKGCONFIG` to non-cross `MINGW`

Enable `CURL_USE_PKGCONFIG` by default for more environments:

- for `MINGW` targets when not using cross-compilation.
- stop restricting vcpkg to MSVC. (this currently unlocks mingw,
  also unlocked by the update above.)

Also:
- cache `CURL_USE_PKGCONFIG` in `CURLConfig.cmake`.
Suggested-by: Kai Pastor
Follow-up to c555ab469d74756b0e3a21f797237d53f9334ce3 #14575
Closes #14658
CMake/curl-config.cmake.in
CMakeLists.txt