Commit 56fe7218 authored by Ghislain MARY's avatar Ghislain MARY

Fix build of voamrwbenc in Release mode for Windows 10.

parent 67f37ef4
......@@ -133,6 +133,9 @@ else()
endif()
target_compile_options(vo-amrwbenc PRIVATE "-w")
if(MSVC)
target_compile_options(vo-amrwbenc PRIVATE "/Ob0") # Deactivate inlining to prevent linking errors
endif()
target_include_directories(vo-amrwbenc PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/amrwbenc/inc ${CMAKE_CURRENT_SOURCE_DIR}/common/include)
if(ENABLE_ARMV5E)
......
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