2020-08-22 06:33:35 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2021-04-10 00:42:55 +08:00
|
|
|
index a390aed..658f994 100644
|
2020-08-22 06:33:35 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2021-04-10 00:42:55 +08:00
|
|
|
@@ -233,7 +233,7 @@ if( ZMQ_FOUND )
|
2020-08-22 06:33:35 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(MSVC)
|
2021-04-10 00:42:55 +08:00
|
|
|
- target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W3 /WX)
|
|
|
|
+ target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W3 /wd4702)
|
2020-08-22 06:33:35 +08:00
|
|
|
else()
|
|
|
|
target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE
|
|
|
|
-Wall -Wextra -Werror=return-type)
|