File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,18 @@ set_target_properties(pad_node PROPERTIES
126126
127127if (BUILD_TESTING)
128128 find_package (ament_lint_auto REQUIRED)
129+ find_package (ament_cmake_gtest REQUIRED)
129130 ament_lint_auto_find_test_dependencies()
130131
132+ # Force use of ROS2 vendor googletest to avoid version conflicts
133+ set (CMAKE_IGNORE_PATH "/usr/src/googletest" ${CMAKE_IGNORE_PATH} )
134+ set (CMAKE_IGNORE_PATH "/usr/include/gtest" ${CMAKE_IGNORE_PATH} )
135+ set (CMAKE_IGNORE_PATH "/usr/include/gmock" ${CMAKE_IGNORE_PATH} )
136+
137+ # Explicitly use ROS2 vendor googletest/gmock
138+ include_directories (BEFORE /opt/ros/humble/src/gtest_vendor/include )
139+ include_directories (BEFORE /opt/ros/humble/src/gmock_vendor/include )
140+
131141 # Gtest for alpha blend node
132142 ament_add_gtest(alpha_blend_test test /alpha_blend_test.cpp)
133143 target_link_libraries (alpha_blend_test alpha_blend_node)
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ SPDX-License-Identifier: Apache-2.0
2121<?xml-model href =" http://download.ros.org/schema/package_format3.xsd" schematypens =" http://www.w3.org/2001/XMLSchema" ?>
2222<package format =" 3" >
2323 <name >isaac_ros_image_proc</name >
24- <version >3.2.5 </version >
24+ <version >3.2.10 </version >
2525 <description >Single image rectification and color processing</description >
2626
2727 <maintainer email =" isaac-ros-maintainers@nvidia.com" >Isaac ROS Maintainers</maintainer >
You can’t perform that action at this time.
0 commit comments