Skip to content

Commit

Permalink
Merge pull request #1203 from BearWare/issue_1119
Browse files Browse the repository at this point in the history
Auto-detect AVX on Linux in OPUS
  • Loading branch information
bear101 authored Jan 12, 2022
2 parents 748261a + 4755ec3 commit 00beb43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Library/TeamTalkLib/build/opus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,12 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if (TOOLCHAIN_BUILD_EXTERNALPROJECTS)
ExternalProject_Add(opus-src
GIT_REPOSITORY https://github.com/bear101/opus
GIT_TAG v1.3.1
GIT_TAG 12a356e
GIT_SHALLOW TRUE
UPDATE_COMMAND ""
PREFIX ${TOOLCHAIN_BUILD_PREFIX}/opus
INSTALL_DIR ${TOOLCHAIN_INSTALL_PREFIX_OPUS}
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=release
-DAVX_SUPPORTED=OFF
BUILD_COMMAND ${CMAKE_COMMAND} --build . --target opus
BUILD_BYPRODUCTS <INSTALL_DIR>/lib/libopus.a
)
Expand Down

0 comments on commit 00beb43

Please sign in to comment.