From 0fc60d48fa90e85c477b37763c006f053c88c993 Mon Sep 17 00:00:00 2001 From: Kang Lin Date: Sun, 31 Mar 2024 15:57:54 +0800 Subject: [PATCH] CMake: Declare the variable nearby (#1387) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CMake: Declare the variable nearby --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 29f2a8c..5ddf3b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,8 +11,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) # TODO: Modify this when the version is released SET(BUILD_VERSION "4.6.2") -option(FUZZER "Build oss-fuzz fuzzing" OFF) - # Find Git Version Patch IF(EXISTS "${CMAKE_SOURCE_DIR}/.git") if(NOT GIT) @@ -137,6 +135,7 @@ install(DIRECTORY ) include(cmake/CMakeCPack.cmake) +option(FUZZER "Build oss-fuzz fuzzing" OFF) if(FUZZER) if (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang") message(FATAL_ERROR "clang is require for libFuzzer")