Skip to content

Commit

Permalink
don't set compiler definition that won't be used
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina authored and methylDragon committed Jun 17, 2022
1 parent 4cceecc commit ecaa403
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions profiler/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ gz_add_component(profiler SOURCES ${PROFILER_SRCS} GET_TARGET_NAME profiler_targ
target_compile_definitions(${profiler_target} PRIVATE "GZ_PROFILER_ENABLE=1")
target_compile_definitions(${profiler_target} PRIVATE "RMT_USE_METAL=${RMT_USE_METAL}")

# TODO(CH3): Deprecated. Remove on tock.
target_compile_definitions(${profiler_target} PRIVATE "IGN_PROFILER_ENABLE=1")

if(GZ_PROFILER_REMOTERY)
target_compile_definitions(${profiler_target} PRIVATE "GZ_PROFILER_REMOTERY=1")
target_include_directories(
Expand Down

0 comments on commit ecaa403

Please sign in to comment.