Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 75362ccf..21c7ae53 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)