shithub: opus

Download patch

ref: 60472f2dc2c89eed45de1a382eea5da4fb885db6
parent: 965a72e4c00aae7aa7fb634037585d60df61ba14
author: Nathaniel R. Lewis <linux.robotdude@gmail.com>
date: Wed May 8 17:51:22 EDT 2019

CMake: Add alias Opus::opus for opus library. Useful for CMake superbuild pattern.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -165,6 +165,8 @@
 
 add_library(opus ${opus_sources} ${opus_sources_float})
 
+add_library(Opus::opus ALIAS opus)
+
 set(Opus_PUBLIC_HEADER
     ${CMAKE_CURRENT_SOURCE_DIR}/include/opus.h
     ${CMAKE_CURRENT_SOURCE_DIR}/include/opus_custom.h