From 3a565d3b091c29210e24042f86869fecafb70914 Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Wed, 29 May 2019 09:59:09 +0200 Subject: [PATCH] fix cmake option type (should be string, not bool) --- fuzzing/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzzing/CMakeLists.txt b/fuzzing/CMakeLists.txt index 199445cb218e..d25ce053021f 100644 --- a/fuzzing/CMakeLists.txt +++ b/fuzzing/CMakeLists.txt @@ -8,7 +8,7 @@ option(FMT_FUZZ_LINKMAIN "enables the reproduce mode, instead of libFuzzer" On) #for oss-fuzz - insert $LIB_FUZZING_ENGINE into the link flags, but only for #the fuzz targets, otherwise the cmake configuration step fails. -option(FMT_FUZZ_LDFLAGS "LDFLAGS for the fuzz targets" "") +set(FMT_FUZZ_LDFLAGS "" CACHE STRING "LDFLAGS for the fuzz targets") #find all fuzzers. set(SOURCES