From 48336b536700eea762404c45a72203aa124dedf7 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Tue, 18 Dec 2018 13:57:02 +0200 Subject: [PATCH] Change libopustags to STATIC, not OBJECT: > CMake Error at CMakeLists.txt:27 (target_link_libraries): > Object library target "libopustags" may not link to anything. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b0d389b..38cd6fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ include_directories(BEFORE src "${CMAKE_BINARY_DIR}") add_library( libopustags - OBJECT + STATIC src/cli.cc src/ogg.cc src/opus.cc