Browse Source

add_library: Document UNKNOWN type of imported targets

Cristian Adam 6 years ago
parent
commit
4127f82179
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Help/command/add_library.rst

+ 6 - 0
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
 ^^^^^^^^^^^^^^^^