mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-23 03:58:59 +00:00
db8aa64d2f
Properly define MEM_USE_RTL definition only for mem library. Link other dependant modules with mem.
18 lines
298 B
CMake
18 lines
298 B
CMake
set(HEADERS)
|
|
set(CPPS
|
|
osfarchive.cpp
|
|
streamaudio.cpp)
|
|
|
|
add_library(stream_audio STATIC ${HEADERS} ${CPPS})
|
|
target_link_libraries(stream_audio PRIVATE
|
|
ddio
|
|
libacm
|
|
mem
|
|
sndlib
|
|
)
|
|
target_include_directories(stream_audio PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/stream_audio
|
|
>
|
|
)
|