Skip to content

Commit

Permalink
Update mara_gazebo_plugins/CMakeLists.txt:
Browse files Browse the repository at this point in the history
* Use add_compile_options()

Signed-off-by: LanderU <[email protected]>
  • Loading branch information
LanderU committed Jul 26, 2019
1 parent d8629b7 commit 1c250f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mara_gazebo_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# we dont use add_compile_options with pedantic in message packages
# because the Python C extensions dont comply with it
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -fpermissive")
add_compile_options(-Wall -Wextra -Wpedantic -fpermissive)
endif()

find_package(ament_cmake REQUIRED)
Expand Down

0 comments on commit 1c250f0

Please sign in to comment.