summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-05-20 20:40:17 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2019-06-02 06:44:47 (GMT)
commit4127f82179acb13746c6249dd420ffa8b4abeb72 (patch)
treed412bb6d2df717a74e0b678005db0d160d01d4bc /Help
parent7f4a1d83790cad143dc8400cc78186dbef88e23d (diff)
downloadCMake-4127f82179acb13746c6249dd420ffa8b4abeb72.zip
CMake-4127f82179acb13746c6249dd420ffa8b4abeb72.tar.gz
CMake-4127f82179acb13746c6249dd420ffa8b4abeb72.tar.bz2
add_library: Document UNKNOWN type of imported targets
Diffstat (limited to 'Help')
-rw-r--r--Help/command/add_library.rst6
1 files changed, 6 insertions, 0 deletions
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
^^^^^^^^^^^^^^^^