From 576251f933fbb3f69b065a3ba4e5081661d1f254 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 12 May 2024 08:32:04 +0100 Subject: [PATCH] cmake: Rename build option `FUZZ` to `ENABLE_FUZZ` --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 067385e280a9a..6ccdc94a14aae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,7 +165,7 @@ option(BUILD_TESTS "Build test_bitcoin executable." ON) cmake_dependent_option(BUILD_GUI_TESTS "Build test_bitcoin-qt executable." ON "BUILD_GUI;BUILD_TESTS" OFF) option(BUILD_BENCH "Build bench_bitcoin executable." ON) option(BUILD_FUZZ_BINARY "Build fuzz binary." ON) -cmake_dependent_option(FUZZ "Build for fuzzing. Enabling this will disable all other targets and override BUILD_FUZZ_BINARY." OFF "NOT MSVC" OFF) +cmake_dependent_option(ENABLE_FUZZ "Build for fuzzing. Enabling this will disable all other targets and override BUILD_FUZZ_BINARY." OFF "NOT MSVC" OFF) option(INSTALL_MAN "Install man pages." ON) @@ -206,8 +206,8 @@ target_link_libraries(core_base_interface INTERFACE ) target_link_libraries(core_interface INTERFACE core_base_interface) -if(FUZZ) - message(WARNING "FUZZ=ON will disable all other targets and force BUILD_FUZZ_BINARY=ON.") +if(ENABLE_FUZZ) + message(WARNING "ENABLE_FUZZ=ON will disable all other targets and force BUILD_FUZZ_BINARY=ON.") set(BUILD_DAEMON OFF) set(BUILD_CLI OFF) set(BUILD_TX OFF)