From 10d4b9d473dcaf6d5e0b64211e20b62fcedd8187 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 10 Jan 2022 16:02:21 +0100 Subject: [PATCH] Fixed WITH_FUZZERS compile --- cmake/ConfigOptions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ConfigOptions.cmake b/cmake/ConfigOptions.cmake index 696e31d5c..a9288cabf 100644 --- a/cmake/ConfigOptions.cmake +++ b/cmake/ConfigOptions.cmake @@ -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})