Skip to content

Commit 84115e5

Browse files
committed
fuzz targets link against header-only library
1 parent 8b379d4 commit 84115e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fuzz/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function(add_boost_beast_fuzzer NAME)
7272
set(SOURCE_FILES ${ARGN})
7373
add_executable(fuzzer_${NAME} ${SOURCE_FILES})
7474
source_group("" FILES ${SOURCE_FILES})
75-
target_link_libraries(fuzzer_${NAME} PRIVATE lib-beast)
75+
target_link_libraries(fuzzer_${NAME} PRIVATE boost_beast)
7676
target_compile_options(fuzzer_${NAME} PRIVATE -g -O2 -fsanitize=fuzzer,address,undefined -fno-sanitize-recover=undefined)
7777
target_link_libraries(fuzzer_${NAME} PRIVATE -fsanitize=fuzzer,address,undefined)
7878
set_target_properties(fuzzer_${NAME} PROPERTIES FOLDER "fuzzing")

0 commit comments

Comments
 (0)