mirror of
https://github.com/cemu-project/Cemu
synced 2025-10-06 00:32:50 +02:00
build: Build assembly in ih264d with cpp preprocessor (#1631)
This commit is contained in:
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.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)
|
||||
target_sources(ih264d PRIVATE "common/armv8/macos_arm_symbol_aliases.s")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user