summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2020-04-25 23:06:48 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2020-04-25 23:06:48 +0200
commitbee1b8006c443d903bb7883c1538aa44fda8abc0 (patch)
tree950f076e39c33da32b343d7994d8dd93bf9ea407 /lib
parentf6dc97726a7895c9dabade017e0e93c33b337eaa (diff)
Add the fallback to the internal libShout to cmake as well
This fixes lp1833225 also for cmake builds
Diffstat (limited to 'lib')
-rw-r--r--lib/libshout/CMakeLists.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/lib/libshout/CMakeLists.txt b/lib/libshout/CMakeLists.txt
new file mode 100644
index 0000000000..423da3a316
--- /dev/null
+++ b/lib/libshout/CMakeLists.txt
@@ -0,0 +1,40 @@
+cmake_minimum_required(VERSION 3.0)
+project(shout_mixxx C)
+
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_CONFIG_H -Wall -ffast-math -pthread -g -O2")
+
+include_directories(
+ .
+ src
+ include
+ src/common
+)
+
+add_library(shout_mixxx STATIC
+ src/common/avl/avl.c
+ src/common/net/sock.c
+ src/common/net/resolver.c
+ src/common/timing/timing.c
+ src/common/httpp/httpp.c
+ src/common/httpp/encoding.c
+ src/common/thread/thread.c
+ src/shout.c
+ src/util.c
+ src/queue.c
+ src/proto_http.c
+ src/proto_xaudiocast.c
+ src/proto_icy.c
+ src/proto_roaraudio.c
+ src/format_ogg.c
+ src/format_webm.c
+ src/format_mp3.c
+ src/codec_vorbis.c
+ src/codec_opus.c
+ src/codec_theora.c
+ src/codec_speex.c
+ src/tls.c
+)
+
+target_link_libraries(shout_mixxx ogg vorbis theora speex ssl crypto)
+
+