Use installed opus on non-Windows.

This commit is contained in:
John Preston 2019-12-09 09:36:37 +03:00
parent 5b787a6759
commit 998b36f014
1 changed files with 4 additions and 0 deletions

View File

@ -766,6 +766,10 @@ else()
)
endif()
if (NOT WIN32)
target_compile_definitions(lib_tgvoip PRIVATE TGVOIP_USE_INSTALLED_OPUS)
endif()
target_include_directories(lib_tgvoip
PUBLIC
${tgvoip_loc}