Skip to content

Commit

Permalink
Create ros-noetic-moveit-visual-tools.win.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Feb 7, 2024
1 parent 578d602 commit a39b8d1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions patch/ros-noetic-moveit-visual-tools.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2663c31..3344153 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,8 +51,6 @@ add_library(${PROJECT_NAME}
src/imarker_robot_state.cpp
src/imarker_end_effector.cpp
)
-target_compile_options(${PROJECT_NAME} PRIVATE
- -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls)
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${${PROJECT_NAME}_VERSION})
add_dependencies(${PROJECT_NAME} graph_msgs_generate_messages_cpp)
target_link_libraries(${PROJECT_NAME}
@@ -61,8 +59,6 @@ target_link_libraries(${PROJECT_NAME}

# Demo executable
add_executable(${PROJECT_NAME}_demo src/${PROJECT_NAME}_demo.cpp)
-target_compile_options(${PROJECT_NAME}_demo PRIVATE
- -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls)
target_link_libraries(${PROJECT_NAME}_demo
${catkin_LIBRARIES} ${PROJECT_NAME}
)

0 comments on commit a39b8d1

Please sign in to comment.