Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Fix rolling compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
asymingt committed Nov 18, 2022
1 parent 17c8db3 commit 82d6592
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rosbag2_storage_mcap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ endif()
if(${rosbag2_storage_VERSION} VERSION_GREATER_EQUAL 0.15.0)
list(APPEND MCAP_COMPILE_DEFS ROSBAG2_STORAGE_MCAP_HAS_YAML_HPP)
endif()
# COMPATIBILITY(foxy, galactic, humble) - 0.17.x is the Rolling release.
# COMPATIBILITY(foxy, galactic, humble, rolling:0.17.x)
if(${rosbag2_storage_VERSION} VERSION_GREATER_EQUAL 0.17.0)
list(APPEND MCAP_COMPILE_DEFS ROSBAG2_STORAGE_MCAP_HAS_STORAGE_FILTER_TOPIC_REGEX)
endif()
# COMPATIBILITY(foxy, galactic, humble, rolling:0.17.x, rolling:0.18.x)
if(${rosbag2_storage_VERSION} VERSION_GREATER_EQUAL 0.18.0)
list(APPEND MCAP_COMPILE_DEFS ROSBAG2_STORAGE_MCAP_HAS_SET_READ_ORDER)
endif()

Expand Down

0 comments on commit 82d6592

Please sign in to comment.