summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0016.rst
blob: 3da7280ea55be9892f8b37996ea14c16a576b7f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CMP0016
-------

.. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0
.. include:: include/REMOVED_PROLOGUE.rst

:command:`target_link_libraries` reports error if its only argument
is not a target.

In CMake 2.8.2 and lower the :command:`target_link_libraries` command silently
ignored if it was called with only one argument, and this argument
wasn't a valid target.  In CMake 2.8.3 and above it reports an error
in this case.

.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.8.3
.. |WARNED_OR_DID_NOT_WARN| replace:: warned
.. include:: include/REMOVED_EPILOGUE.rst