We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9fe542 commit bd3f7faCopy full SHA for bd3f7fa
1 file changed
vendor/cpp-httplib/CMakeLists.txt
@@ -153,10 +153,11 @@ if((LLAMA_BUILD_BORINGSSL OR LLAMA_BUILD_LIBRESSL) AND LLAMA_FATAL_WARNINGS)
153
if (MSVC)
154
get_target_property(target_options crypto COMPILE_OPTIONS)
155
list(REMOVE_ITEM target_options "/WX")
156
+ message(STATUS "Target options: ${target_options}")
157
set_target_properties(crypto PROPERTIES COMPILE_OPTIONS "${target_options}")
158
else()
159
- list(REMOVE_ITEM target_options "-Werror")
160
+ string(REPLACE "-Werror;" "" target_options "${target_options}")
161
message(STATUS "Target options: ${target_options}")
162
163
endif()
0 commit comments