fix file cmake

This commit is contained in:
2025-12-02 13:17:41 +07:00
parent f2e09018ce
commit ef5cf7a4ea
2 changed files with 1 additions and 8 deletions

View File

@@ -42,9 +42,6 @@ target_link_libraries(tf3_geometry_msgs INTERFACE
# --- Cài đặt thư viện vào hệ thống khi chạy make install ---
install(TARGETS tf3_geometry_msgs
EXPORT tf3_geometry_msgs-targets
ARCHIVE DESTINATION lib # Thư viện tĩnh .a
LIBRARY DESTINATION lib # Thư viện động .so
RUNTIME DESTINATION bin # File thực thi (nếu có)
INCLUDES DESTINATION include # Cài đặt include
)
@@ -55,7 +52,6 @@ install(TARGETS tf3_geometry_msgs
# --- Target_link_libraries(my_app PRIVATE tf3_geometry_msgs::tf3_geometry_msgs) ---
install(EXPORT tf3_geometry_msgs-targets
FILE tf3_geometry_msgs-targets.cmake
NAMESPACE tf3_geometry_msgs::
DESTINATION lib/cmake/tf3_geometry_msgs
)

View File

@@ -38,9 +38,6 @@ target_link_libraries(tf3_sensor_msgs INTERFACE
# --- Cài đặt thư viện vào hệ thống khi chạy make install ---
install(TARGETS tf3_sensor_msgs
EXPORT tf3_sensor_msgs-targets
ARCHIVE DESTINATION lib # Thư viện tĩnh .a
LIBRARY DESTINATION lib # Thư viện động .so
RUNTIME DESTINATION bin # File thực thi (nếu có)
INCLUDES DESTINATION include # Cài đặt include
)