From 4127f82179acb13746c6249dd420ffa8b4abeb72 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Mon, 20 May 2019 22:40:17 +0200 Subject: add_library: Document UNKNOWN type of imported targets --- Help/command/add_library.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst index b42fe42..7274e44 100644 --- a/Help/command/add_library.rst +++ b/Help/command/add_library.rst @@ -94,6 +94,12 @@ The most important properties are: See documentation of the ``IMPORTED_*`` and ``INTERFACE_*`` properties for more information. +An ``UNKNOWN`` library type is typically only used in the implementation of +:ref:`Find Modules`. It allows the path to an imported library (often found +using the :command:`find_library` command) to be used without having to know +what type of library it is. This is especially useful on Windows where a +static library and a DLL's import library both have the same file extension. + Object Libraries ^^^^^^^^^^^^^^^^ -- cgit v0.12