1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

Lagom: Fix oss-fuzz build error due to CMake typo

The OSS-Fuzz build was failing with the following error:

 /usr/bin/ld: cannot find -l{}
This commit is contained in:
Brian Gianforcaro 2021-07-30 12:24:27 -07:00 committed by Linus Groh
parent 4d0f849654
commit a4dc1eb330

View file

@ -3,7 +3,7 @@ function(add_simple_fuzzer name)
if (ENABLE_OSS_FUZZ)
target_link_libraries(${name}
PUBLIC {$ARGN} LagomCore)
PUBLIC ${ARGN} LagomCore)
else()
target_compile_options(${name}
PRIVATE $<$<CXX_COMPILER_ID:Clang>:-g -O1 -fsanitize=fuzzer>