mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 21:58:50 -05:00
MinGW: Update find_library to not find plain .dll files
Modern distributions of packages built with MinGW tools provide `.dll.a` import libraries. Prefer those instead of finding plain `.dll` files. This avoids accidentally finding unrelated Windows `.dll` files. Fixes: #20019
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
mingw-find-no-dll
|
||||
-----------------
|
||||
|
||||
* When using MinGW tools, the :command:`find_library` command no longer
|
||||
finds ``.dll`` files by default. Instead it expects ``.dll.a`` import
|
||||
libraries to be available.
|
||||
Reference in New Issue
Block a user