You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/Releases/Release-Kilted-Kaiju.rst
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,29 @@ TODO
41
41
New features in this ROS 2 release
42
42
----------------------------------
43
43
44
+
Changes since the Jazzy release
45
+
-------------------------------
46
+
47
+
ament_target_dependencies is deprecated
48
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
49
+
50
+
The CMake macro ``ament_target_dependencies()`` has been deprecated in favor of ``target_link_libraries()`` with modern CMake targets.
51
+
The macro still works, but it emits a CMake deprecation warning at build time like this:
52
+
53
+
.. code-block::
54
+
55
+
CMake Deprecation Warning at [...]/ament_cmake_target_dependencies/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:89 (message):
56
+
ament_target_dependencies() is deprecated. Use target_link_libraries()
57
+
with modern CMake targets instead. Try replacing this call with:
58
+
59
+
target_link_libraries([...] PUBLIC
60
+
[...]
61
+
)
62
+
63
+
Try replacing the ``ament_target_dependencies()`` call with the ``target_link_libraries()`` call suggested by the warning.
64
+
65
+
For more information see `ament/ament_cmake#572 <https://github.com/ament/ament_cmake/pull/572>`__ and `ament/ament_cmake#292 <https://github.com/ament/ament_cmake/issues/292>`__.
0 commit comments