Skip to content

Commit 48673b6

Browse files
authored
test
1 parent 983c80a commit 48673b6

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

vendor/cpp-httplib/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,9 @@ if(LLAMA_BUILD_BORINGSSL AND LLAMA_FATAL_WARNINGS)
156156
message(STATUS "Target options: ${target_options}")
157157
set_target_properties(fipsmodule PROPERTIES COMPILE_OPTIONS "${target_options}")
158158
else()
159+
target_compile_options(fipsmodule PRIVATE -w)
159160
get_target_property(target_options fipsmodule COMPILE_OPTIONS)
160-
get_target_property(interface_options fipsmodule INTERFACE_COMPILE_OPTIONS)
161-
list(REMOVE_ITEM target_options $<$<COMPILE_LANGUAGE:C,CXX>:-Werror>)
162161
message(STATUS "Target options: ${target_options}")
163-
message(STATUS "Interface options: ${interface_options}")
164-
set_target_properties(fipsmodule PROPERTIES COMPILE_OPTIONS "${target_options}")
165-
set_target_properties(fipsmodule PROPERTIES INTERFACE_COMPILE_OPTIONS "${target_options}")
166162
endif()
167163
endif()
168164

0 commit comments

Comments
 (0)