Skip to content
Snippets Groups Projects
Verified Commit 1f891e36 authored by Marcus Asteborg's avatar Marcus Asteborg Committed by Mark Harris
Browse files

cmake - move warning C4244 to level 4


Opus compare is used to generate test vectors so no cosmetic changes
is taken. Hence we move this warning to level 4 for opus compare.

Signed-off-by: default avatarMark Harris <mark.hsj@gmail.com>
parent 510e1029
No related branches found
No related tags found
No related merge requests found
......@@ -589,6 +589,10 @@ if(OPUS_BUILD_PROGRAMS)
add_executable(opus_compare ${opus_compare_sources})
target_include_directories(opus_compare PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(opus_compare PRIVATE opus ${OPUS_REQUIRED_LIBRARIES})
if(MSVC)
# move cosmetic warning to level 4 for opus_compare
target_compile_options(opus_compare PRIVATE /w44244)
endif()
endif()
if(BUILD_TESTING AND NOT BUILD_SHARED_LIBS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment