aboutsummaryrefslogtreecommitdiff
path: root/ports/behaviortree-cpp/001_port_fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/behaviortree-cpp/001_port_fixes.patch')
-rw-r--r--ports/behaviortree-cpp/001_port_fixes.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/behaviortree-cpp/001_port_fixes.patch b/ports/behaviortree-cpp/001_port_fixes.patch
new file mode 100644
index 000000000..3cb4ac29e
--- /dev/null
+++ b/ports/behaviortree-cpp/001_port_fixes.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 75dea11..4eea781 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -229,7 +229,7 @@ if( ZMQ_FOUND )
+ endif()
+
+ if(MSVC)
+- target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W4 /WX)
++ target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W4 /wd4702)
+ else()
+ target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE
+ -Wall -Wextra -Werror=return-type)