Skip to content

Commit

Permalink
move warning ignore to CMakeLists
Browse files Browse the repository at this point in the history
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
  • Loading branch information
matetokodi committed May 17, 2024
1 parent b29e3cb commit ca9d036
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,14 @@ if(UNITTESTS)
add_subdirectory(tests/unit-core)
if(JERRY_MATH)
add_subdirectory(tests/unit-math)
if("${PLATFORM}" STREQUAL "DARWIN")
set_source_files_properties(
${tests/unit-math/test-math.c}
PROPERTIES
COMPILE_OPTIONS "-Wno-literal-range"
)
# jerry_add_compile_flags(-Wno-literal-range)
endif()
endif()
if(JERRY_EXT)
add_subdirectory(tests/unit-ext)
Expand Down

0 comments on commit ca9d036

Please sign in to comment.