mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 11:37:50 +08:00
14 lines
444 B
Diff
14 lines
444 B
Diff
|
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)
|