Skip to content

Commit

Permalink
fuzz targets link against header-only library
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtum committed Dec 16, 2024
1 parent 8b379d4 commit 84115e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fuzz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function(add_boost_beast_fuzzer NAME)
set(SOURCE_FILES ${ARGN})
add_executable(fuzzer_${NAME} ${SOURCE_FILES})
source_group("" FILES ${SOURCE_FILES})
target_link_libraries(fuzzer_${NAME} PRIVATE lib-beast)
target_link_libraries(fuzzer_${NAME} PRIVATE boost_beast)
target_compile_options(fuzzer_${NAME} PRIVATE -g -O2 -fsanitize=fuzzer,address,undefined -fno-sanitize-recover=undefined)
target_link_libraries(fuzzer_${NAME} PRIVATE -fsanitize=fuzzer,address,undefined)
set_target_properties(fuzzer_${NAME} PROPERTIES FOLDER "fuzzing")
Expand Down

0 comments on commit 84115e5

Please sign in to comment.