mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 18:27:12 +02:00
17 lines
318 B
CMake
17 lines
318 B
CMake
set(SOURCES
|
|
resampler.cpp
|
|
sample_format.cpp)
|
|
|
|
if(NOT WIN32)
|
|
list(APPEND SOURCES daemon.cpp)
|
|
endif()
|
|
|
|
if (SOXR_FOUND)
|
|
include_directories(${SOXR_INCLUDE_DIRS})
|
|
endif (SOXR_FOUND)
|
|
|
|
add_library(common STATIC ${SOURCES})
|
|
|
|
if (SOXR_FOUND)
|
|
target_link_libraries(common ${SOXR_LIBRARIES})
|
|
endif (SOXR_FOUND)
|