summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2020-06-06 17:49:08 -0500
committerBe <be@mixxx.org>2020-06-06 17:49:08 -0500
commitada0929810c9029970b3c0f96e7bb442973b5760 (patch)
tree21c09b92a57da1e0a1adadff5151e018044044e5 /lib
parent91bc4715012adc2a11f57f10b2173caf9de2838f (diff)
parent53873ee735b7cf8e9316a554b2bc67af3431839c (diff)
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Diffstat (limited to 'lib')
-rw-r--r--lib/libshout/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libshout/CMakeLists.txt b/lib/libshout/CMakeLists.txt
index 149dc698dc..3cfb35438a 100644
--- a/lib/libshout/CMakeLists.txt
+++ b/lib/libshout/CMakeLists.txt
@@ -1,7 +1,5 @@
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")
find_package(OpenSSL)
@@ -37,6 +35,9 @@ add_library(shout_mixxx STATIC
src/tls.c
)
+target_compile_definitions(shout_mixxx PRIVATE HAVE_CONFIG_H)
+target_compile_options(shout_mixxx PRIVATE -pthread -Wall)
+
target_link_libraries(shout_mixxx ogg vorbis theora speex OpenSSL::SSL OpenSSL::Crypto)