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:
parent
9d2227cf5c
commit
88918579a3
|
|
@ -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})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user