Add libopus
Build / Build (push) Failing after 2m5s

This commit is contained in:
2026-09-21 21:57:53 -04:00
parent f46d7065f1
commit cff523c45b
4 changed files with 33 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
CPMAddPackage(
URI "gh:xiph/opus@1.5.2"
)
if(opus_ADDED)
get_target_property(OPUS_INCLUDE_DIRS opus INTERFACE_INCLUDE_DIRECTORIES)
set(OPUS_LIBRARIES opus)
set(HAVE_OPUS_OPUS_H TRUE)
set(Opus_FOUND TRUE)
set(OPUS_FOUND TRUE)
endif()