Fixed WITH_FUZZERS compile

This commit is contained in:
Armin Novak 2022-01-10 16:02:21 +01:00 committed by akallabeth
parent 1dc14b7379
commit 10d4b9d473

View File

@ -174,7 +174,7 @@ option(BUILD_FUZZERS "Use BUILD_FUZZERS to build fuzzing tests" OFF)
if (BUILD_FUZZERS)
if (NOT OSS_FUZZ)
add_compile_flags("C;CXX" -fsanitize=fuzzer-no-link)
add_compile_options(-fsanitize=fuzzer-no-link)
endif ()
if (OSS_FUZZ AND NOT DEFINED ENV{LIB_FUZZING_ENGINE})