Skip to content

Commit 5a16f4f

Browse files
authored
try appending -w
1 parent 847aede commit 5a16f4f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vendor/cpp-httplib/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ if((LLAMA_BUILD_BORINGSSL OR LLAMA_BUILD_LIBRESSL) AND LLAMA_FATAL_WARNINGS)
156156
set_target_properties(crypto PROPERTIES COMPILE_OPTIONS "${target_options}")
157157
else()
158158
get_target_property(target_options crypto COMPILE_OPTIONS)
159-
list(REMOVE_ITEM target_options "-Werror")
159+
list(APPEND target_options "-w")
160+
message(STATUS "Target options: ${target_options}")
160161
set_target_properties(crypto PROPERTIES COMPILE_OPTIONS "${target_options}")
161162
endif()
162163
endif()

0 commit comments

Comments
 (0)