CMakeLists.txt: turn off compilation warnings for external projects

parent 3e41daf9
......@@ -394,6 +394,7 @@ else()
endif()
endif()
endif()
target_compile_options(opus PRIVATE "-w")
target_compile_definitions(opus PRIVATE "-DHAVE_CONFIG_H")
install(TARGETS opus
......
......@@ -131,6 +131,9 @@ else()
endif()
endif()
endif()
target_compile_options(vo-amrwbenc PRIVATE "-w")
target_include_directories(vo-amrwbenc PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/amrwbenc/inc ${CMAKE_CURRENT_SOURCE_DIR}/common/include)
if(ENABLE_ARMV5E)
target_compile_definitions("-DARM" "-DASM_OPT")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment