Skip to content
Snippets Groups Projects
Commit db13ac4c authored by Beat Küng's avatar Beat Küng
Browse files

posix_sitl_default.cmake: add -DORB_USE_PUBLISHER_RULES if it's a replay build

parent e9726af5
No related branches found
No related tags found
No related merge requests found
......@@ -112,3 +112,12 @@ set(config_sitl_debugger
)
set_property(CACHE config_sitl_debugger
PROPERTY STRINGS "disable;gdb;lldb")
# If the environment variable 'replay' is defined, we are building with replay
# support. In this case, we enable the orb publisher rules.
set(REPLAY_FILE "$ENV{replay}")
if(REPLAY_FILE)
message("Building with uorb publisher rules support")
add_definitions(-DORB_USE_PUBLISHER_RULES)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment