vcpkg/ports/behaviortree-cpp/001_port_fixes.patch
JonLiu1993 5f32ae982d
[behaviortree-cpp] update to 3.5.6 (#17169)
* [behaviortree-cpp] update to 3.5.6

* update version

* update vcpkg.json

* update version
2021-04-09 09:42:55 -07:00

14 lines
444 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a390aed..658f994 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -233,7 +233,7 @@ if( ZMQ_FOUND )
endif()
if(MSVC)
- target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W3 /WX)
+ target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W3 /wd4702)
else()
target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE
-Wall -Wextra -Werror=return-type)