mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-16 12:08:52 +00:00
build: Build assembly in ih264d with cpp preprocessor (#1631)
This commit is contained in:
parent
cdca5eaf78
commit
7f62b145dd
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…
Reference in New Issue
Block a user