cmake: Only link snd_mixa into the client, not the dedicated server

On i386 it references symbols from other client-only sound code.

Resolves: https://github.com/ioquake/ioq3/issues/770
Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
Simon McVittie 2025-08-22 20:36:18 +01:00 committed by Tim Angus
parent 9d2227cf5c
commit 88918579a3
2 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,7 @@ list(APPEND CLIENT_BINARY_SOURCES
${BOTLIB_SOURCES}
${SYSTEM_SOURCES}
${ASM_SOURCES}
${CLIENT_ASM_SOURCES}
${CLIENT_LIBRARY_SOURCES})
add_executable(${CLIENT_BINARY} ${CLIENT_EXECUTABLE_OPTIONS} ${CLIENT_BINARY_SOURCES})

View File

@ -10,6 +10,9 @@ set(ASM_SOURCES
${SOURCE_DIR}/asm/ftola.c
${SOURCE_DIR}/asm/matha.S
${SOURCE_DIR}/asm/snapvector.c
)
set(CLIENT_ASM_SOURCES
${SOURCE_DIR}/asm/snd_mixa.S
)