mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 00:11:17 +12:00
build: Build assembly in ih264d with cpp preprocessor (#1631)
This commit is contained in:
parent
cdca5eaf78
commit
7f62b145dd
1 changed files with 4 additions and 1 deletions
5
dependencies/ih264d/CMakeLists.txt
vendored
5
dependencies/ih264d/CMakeLists.txt
vendored
|
@ -182,7 +182,10 @@ target_sources(ih264d PRIVATE
|
||||||
"decoder/arm/ih264d_function_selector_av8.c"
|
"decoder/arm/ih264d_function_selector_av8.c"
|
||||||
"decoder/arm/ih264d_function_selector.c"
|
"decoder/arm/ih264d_function_selector.c"
|
||||||
)
|
)
|
||||||
target_compile_options(ih264d PRIVATE -DARMV8)
|
target_compile_options(ih264d PRIVATE -DARMV8 $<$<COMPILE_LANGUAGE:ASM,Clang>:-Wno-unused-command-line-argument>)
|
||||||
|
if(NOT MSVC)
|
||||||
|
set(CMAKE_ASM_FLAGS "${CFLAGS} -x assembler-with-cpp")
|
||||||
|
endif()
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
target_sources(ih264d PRIVATE "common/armv8/macos_arm_symbol_aliases.s")
|
target_sources(ih264d PRIVATE "common/armv8/macos_arm_symbol_aliases.s")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue