Descent3/stream_audio/CMakeLists.txt
Azamat H. Hackimov db8aa64d2f Make mem module isolated from project
Properly define MEM_USE_RTL definition only for mem library. Link other dependant modules with mem.
2024-06-20 00:43:51 +03:00

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
>
)