Add soxr library and include paths.

This commit is contained in:
Armin Novak 2018-11-13 14:04:43 +01:00
parent 9766161f10
commit e5197f529d
2 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,7 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(soxr DEFAULT_MSG SOXR_LIBRARY SOXR_INCLUDE_DIR
if (SOXR_INCLUDE_DIR AND SOXR_LIBRARY)
set(SOXR_FOUND TRUE)
set(SOXR_INCLUDE_DIRS ${SOXR_INCLUDE_DIR})
set(SOXR_LIBRARIES ${SOXR_LIBRARY})
endif (SOXR_INCLUDE_DIR AND SOXR_LIBRARY)

View File

@ -162,6 +162,11 @@ if (WITH_DSP_FFMPEG)
codec/dsp_ffmpeg.h)
endif (WITH_DSP_FFMPEG)
if (WITH_SOXR)
freerdp_library_add(${SOXR_LIBRARIES})
include_directories(${SOXR_INCLUDE_DIR})
endif(WITH_SOXR)
if(GSM_FOUND)
freerdp_library_add(${GSM_LIBRARIES})
include_directories(${GSM_INCLUDE_DIRS})