diff options
Diffstat (limited to 'share/cmake-3.18/Help/include/INTERFACE_LINK_LIBRARIES_WARNING.txt')
-rw-r--r-- | share/cmake-3.18/Help/include/INTERFACE_LINK_LIBRARIES_WARNING.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/include/INTERFACE_LINK_LIBRARIES_WARNING.txt b/share/cmake-3.18/Help/include/INTERFACE_LINK_LIBRARIES_WARNING.txt new file mode 100644 index 0000000..46e84ac --- /dev/null +++ b/share/cmake-3.18/Help/include/INTERFACE_LINK_LIBRARIES_WARNING.txt @@ -0,0 +1,10 @@ + +Note that it is not advisable to populate the +|INTERFACE_PROPERTY_LINK| of a target with absolute paths to dependencies. +That would hard-code into installed packages the library file paths +for dependencies **as found on the machine the package was made on**. + +See the :ref:`Creating Relocatable Packages` section of the +:manual:`cmake-packages(7)` manual for discussion of additional care +that must be taken when specifying usage requirements while creating +packages for redistribution. |