Bläddra i källkod

Merge topic 'add_library_unknown'

4127f82179 add_library: Document UNKNOWN type of imported targets

Acked-by: Kitware Robot <[email protected]>
Merge-request: !3346
Craig Scott 6 år sedan
förälder
incheckning
18d6bdb42d
1 ändrade filer med 6 tillägg och 0 borttagningar
  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
 ^^^^^^^^^^^^^^^^