summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-20 18:31:01 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-20 18:31:45 (GMT)
commitafbbfe51090e5575e11c4e3cdbddfa55c76d9966 (patch)
treea9b19e2dcd91ef9b6774b2b8f20759dc7e51077e /Help/release
parent941c09616bc214db77e3b1b7e5229517db08b45c (diff)
downloadCMake-afbbfe51090e5575e11c4e3cdbddfa55c76d9966.zip
CMake-afbbfe51090e5575e11c4e3cdbddfa55c76d9966.tar.gz
CMake-afbbfe51090e5575e11c4e3cdbddfa55c76d9966.tar.bz2
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
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/mingw-find-no-dll.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/mingw-find-no-dll.rst b/Help/release/dev/mingw-find-no-dll.rst
new file mode 100644
index 0000000..84e7431
--- /dev/null
+++ b/Help/release/dev/mingw-find-no-dll.rst
@@ -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.