Skip to content

Commit

Permalink
mara_contact_publisher/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 12, 2019
1 parent 3189a3b commit 87cf39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mara_contact_publisher/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 87cf39f

Please sign in to comment.