Skip to content

Commit

Permalink
Update CMakeLists.txt for libshout
Browse files Browse the repository at this point in the history
Use imported targets for OpenSSL
  • Loading branch information
Chaz6 authored May 11, 2020
1 parent b529a9e commit 4d31220
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/libshout/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ include_directories(
src
include
src/common
"${OPENSSL_INCLUDE_DIR}"
)

add_library(shout_mixxx STATIC
Expand Down Expand Up @@ -38,6 +37,6 @@ add_library(shout_mixxx STATIC
src/tls.c
)

target_link_libraries(shout_mixxx ogg vorbis theora speex ssl crypto)
target_link_libraries(shout_mixxx ogg vorbis theora speex OpenSSL::SSL OpenSSL::Crypto)


0 comments on commit 4d31220

Please sign in to comment.