From 3369f262f8fe80ea1c4e1b8ef498c98a1f9b45d4 Mon Sep 17 00:00:00 2001 From: AdamKorcz Date: Sat, 12 Dec 2020 11:43:47 +0000 Subject: [PATCH] Added JERRY_ prefix for cmake variables JerryScript-DCO-1.0-Signed-off-by: AdamKorcz adam@adalogics.com --- jerry-main/CMakeLists.txt | 2 +- tools/build.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jerry-main/CMakeLists.txt b/jerry-main/CMakeLists.txt index 9da5823b30..228601317f 100644 --- a/jerry-main/CMakeLists.txt +++ b/jerry-main/CMakeLists.txt @@ -59,7 +59,7 @@ endmacro() # Jerry with libfuzzer support if(JERRY_LIBFUZZER) jerry_create_executable("jerry-libfuzzer" "libfuzzer.c") - if(OSS_FUZZ) + if(JERRY_OSS_FUZZ) target_link_libraries("jerry-libfuzzer" jerry-port-default) else() target_link_libraries("jerry-libfuzzer" jerry-port-default -fsanitize=fuzzer) diff --git a/tools/build.py b/tools/build.py index de4dbf8188..6683c17e7b 100755 --- a/tools/build.py +++ b/tools/build.py @@ -190,7 +190,7 @@ def build_options_append(cmakeopt, cliarg): build_options_append('JERRY_CMDLINE_SNAPSHOT', arguments.jerry_cmdline_snapshot) build_options_append('JERRY_CMDLINE_TEST', arguments.jerry_cmdline_test) build_options_append('JERRY_LIBFUZZER', arguments.libfuzzer) - build_options_append('OSS_FUZZ', arguments.oss_fuzz) + build_options_append('JERRY_OSS_FUZZ', arguments.oss_fuzz) build_options_append('JERRY_EXT', arguments.jerry_ext) build_options_append('JERRY_LIBM', arguments.jerry_libm) build_options_append('JERRY_PORT_DEFAULT', arguments.jerry_port_default)