Skip to content

Commit 1c5c3c3

Browse files
committed
Fix check for Iron
1 parent f2e9fef commit 1c5c3c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

velodyne_pointcloud/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ add_library(transform SHARED
7878
src/conversions/transform.cpp)
7979
message("rosidl_cmake_VERSION: ${rosidl_cmake_VERSION}")
8080
if(${rosidl_cmake_VERSION} VERSION_EQUAL 4.0.1)
81-
target_compile_definitions(transform PRIVATE ROS2_IRON)
81+
target_compile_definitions(transform PUBLIC ROS2_IRON)
8282
endif()
8383
target_include_directories(transform PUBLIC
8484
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"

0 commit comments

Comments
 (0)