Skip to content

Commit

Permalink
Added JERRY_ prefix for cmake variables
Browse files Browse the repository at this point in the history
JerryScript-DCO-1.0-Signed-off-by: AdamKorcz [email protected]
  • Loading branch information
AdamKorcz committed Dec 12, 2020
1 parent c132763 commit 3369f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jerry-main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3369f26

Please sign in to comment.