Add Opus library
This commit is contained in:
parent
fe99ec6966
commit
7ce4caaa14
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "source/extern/opus"]
|
||||||
|
path = source/extern/opus
|
||||||
|
url = https://github.com/xiph/opus
|
10
source/extern/CMakeLists.txt
vendored
10
source/extern/CMakeLists.txt
vendored
@ -1,5 +1,14 @@
|
|||||||
|
SET (OPUS_INSTALL_PKG_CONFIG_MODULE OFF)
|
||||||
|
SET (OPUS_INSTALL_CMAKE_CONFIG_MODULE OFF)
|
||||||
|
SET (OPUS_X86_MAY_HAVE_AVX OFF)
|
||||||
|
SET (OPUS_X86_MAY_HAVE_SSE4_1 OFF)
|
||||||
|
SET (OPUS_STACK_PROTECTOR OFF)
|
||||||
|
|
||||||
|
ADD_SUBDIRECTORY (opus)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES (
|
INCLUDE_DIRECTORIES (
|
||||||
${STAR_EXTERN_INCLUDES}
|
${STAR_EXTERN_INCLUDES}
|
||||||
|
opus
|
||||||
fmt
|
fmt
|
||||||
lua
|
lua
|
||||||
)
|
)
|
||||||
@ -60,3 +69,4 @@ SET (star_extern_SOURCES
|
|||||||
)
|
)
|
||||||
|
|
||||||
ADD_LIBRARY (star_extern OBJECT ${star_extern_SOURCES} ${star_extern_HEADERS})
|
ADD_LIBRARY (star_extern OBJECT ${star_extern_SOURCES} ${star_extern_HEADERS})
|
||||||
|
TARGET_LINK_LIBRARIES(star_extern opus)
|
1
source/extern/opus
vendored
Submodule
1
source/extern/opus
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 9fc8fc4cf432640f284113ba502ee027268b0d9f
|
Loading…
Reference in New Issue
Block a user