Skip to content

Commit 3369f26

Browse files
committed
Added JERRY_ prefix for cmake variables
JerryScript-DCO-1.0-Signed-off-by: AdamKorcz [email protected]
1 parent c132763 commit 3369f26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: jerry-main/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ endmacro()
5959
# Jerry with libfuzzer support
6060
if(JERRY_LIBFUZZER)
6161
jerry_create_executable("jerry-libfuzzer" "libfuzzer.c")
62-
if(OSS_FUZZ)
62+
if(JERRY_OSS_FUZZ)
6363
target_link_libraries("jerry-libfuzzer" jerry-port-default)
6464
else()
6565
target_link_libraries("jerry-libfuzzer" jerry-port-default -fsanitize=fuzzer)

Diff for: tools/build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def build_options_append(cmakeopt, cliarg):
190190
build_options_append('JERRY_CMDLINE_SNAPSHOT', arguments.jerry_cmdline_snapshot)
191191
build_options_append('JERRY_CMDLINE_TEST', arguments.jerry_cmdline_test)
192192
build_options_append('JERRY_LIBFUZZER', arguments.libfuzzer)
193-
build_options_append('OSS_FUZZ', arguments.oss_fuzz)
193+
build_options_append('JERRY_OSS_FUZZ', arguments.oss_fuzz)
194194
build_options_append('JERRY_EXT', arguments.jerry_ext)
195195
build_options_append('JERRY_LIBM', arguments.jerry_libm)
196196
build_options_append('JERRY_PORT_DEFAULT', arguments.jerry_port_default)

0 commit comments

Comments
 (0)