- add missed libraries. Opus for RPi built from Git tree! Not from 1.3.1

This commit is contained in:
Dmytro Bogovych 2019-12-10 12:54:37 +09:00
parent b2c6221eb4
commit 2bae9b49ee
4 changed files with 8 additions and 3 deletions

BIN
opus/rpi/libopus.a Normal file

Binary file not shown.

View File

@ -19,6 +19,14 @@ if (CMAKE_SYSTEM MATCHES "Linux*")
set (EVENT2_LIB_EXTRA ${CMAKE_CURRENT_LIST_DIR}/event2/linux/x64/libevent_extra.a)
set (EVENT2_LIB_PTHREADS ${CMAKE_CURRENT_LIST_DIR}/event2/linux/x64/libevent_pthreads.a)
set (EVENT2_LIB_OPENSSL ${CMAKE_CURRENT_LIST_DIR}/event2/linux/x64/libevent_openssl.a)
# Opus
set (OPUS_INCLUDE ${CMAKE_CURRENT_LIST_DIR}/opus/include)
if (RASPBERRY)
set (OPUS_LIB ${CMAKE_CURRENT_LIST_DIR}/opus/rpi/libopus.a)
else()
set (OPUS_LIB ${CMAKE_CURRENT_LIST_DIR}/opus/linux/libopus.a)
endif()
endif()
set (EVENT2_LIBS ${EVENT2_LIB} ${EVENT2_LIB_CORE} ${EVENT2_LIB_EXTRA} ${EVENT2_LIB_PTHREADS})
@ -34,9 +42,6 @@ if (CMAKE_SYSTEM MATCHES "Windows*")
${CMAKE_CURRENT_LIST_DIR}/sndfile/win32/static/vorbisenc.lib)
endif()
# Opus
set (OPUS_LIB ${CMAKE_CURRENT_LIST_DIR}/opus/linux/libopus.a)
set (OPUS_INCLUDE ${CMAKE_CURRENT_LIST_DIR}/opus/include)
# Portaudio
set (PORTAUDIO_LIB ${CMAKE_CURRENT_LIST_DIR}/portaudio/linux/x64/libportaudio.a)

Binary file not shown.

Binary file not shown.