mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 21:11:17 +12:00
[ih264] per-function target attribute on clang and GCC (#328)
This commit is contained in:
parent
8a0fe21589
commit
4519a59d74
17 changed files with 179 additions and 4 deletions
4
dependencies/ih264d/CMakeLists.txt
vendored
4
dependencies/ih264d/CMakeLists.txt
vendored
|
@ -6,10 +6,6 @@ set(LIBAVCDEC_X86_INCLUDES "common/x86" "decoder/x86")
|
|||
|
||||
include_directories("common/" "decoder/" ${LIBAVCDEC_X86_INCLUDES})
|
||||
|
||||
if((CMAKE_C_COMPILER_ID MATCHES "GNU") OR (CMAKE_C_COMPILER_ID MATCHES "Clang"))
|
||||
add_compile_options(-mssse3 -mavx2)
|
||||
endif()
|
||||
|
||||
add_library (ih264d
|
||||
"common/ih264_buf_mgr.c"
|
||||
"common/ih264_buf_mgr.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue