Skip to content

Commit 8f871f1

Browse files
author
me
committed
compile everything with -Wall
1 parent c9dc651 commit 8f871f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ add_library(http ${CMAKE_CURRENT_SOURCE_DIR}/../src/http.cpp)
3131
target_compile_features(http PUBLIC cxx_std_17)
3232
target_include_directories(http PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../src)
3333
target_link_libraries(http PUBLIC OpenSSL::SSL OpenSSL::Crypto Boost::asio)
34-
target_compile_options(http PRIVATE $<$<BOOL:${HTTP_BUILD_FUZZERS}>:-fprofile-instr-generate -fcoverage-mapping>)
34+
target_compile_options(http
35+
PRIVATE $<$<BOOL:${HTTP_BUILD_FUZZERS}>:-fprofile-instr-generate -fcoverage-mapping>
36+
PUBLIC -Wall)
3537

3638
# Examples
3739
function(add_example target_name)

0 commit comments

Comments
 (0)