cmake/Help/include/INTERFACE_LINK_LIBRARIES_WARNING.txt

11 lines
488 B
Plaintext
Raw Normal View History

2015-04-27 22:25:09 +02:00
Note that it is not advisable to populate the
2015-08-17 11:37:30 +02:00
|INTERFACE_PROPERTY_LINK| of a target with absolute paths to dependencies.
That would hard-code into installed packages the library file paths
2015-04-27 22:25:09 +02:00
for dependencies **as found on the machine the package was made on**.
2015-08-17 11:37:30 +02:00
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.