From 8c4397470d71abf02c2c9e8228320d8d86450dd1 Mon Sep 17 00:00:00 2001 From: casey langen Date: Thu, 10 Feb 2022 10:31:14 -0800 Subject: [PATCH] Fix FreeBSD compile. --- .cmake/AddLinuxSystemLibs.cmake | 4 ---- src/plugins/httpdatastream/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.cmake/AddLinuxSystemLibs.cmake b/.cmake/AddLinuxSystemLibs.cmake index 859f8cef4..0cb7c7eb0 100644 --- a/.cmake/AddLinuxSystemLibs.cmake +++ b/.cmake/AddLinuxSystemLibs.cmake @@ -3,7 +3,3 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux") list(APPEND DEFAULT_OS_SYSTEM_LIBS ${LIBDL}) endif() -if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin") - find_library(LIBPTHREAD NAMES libpthread.a) - list(APPEND DEFAULT_OS_SYSTEM_LIBS ${LIBPTHREAD}) -endif() \ No newline at end of file diff --git a/src/plugins/httpdatastream/CMakeLists.txt b/src/plugins/httpdatastream/CMakeLists.txt index 6009d90cd..edfbf02ca 100644 --- a/src/plugins/httpdatastream/CMakeLists.txt +++ b/src/plugins/httpdatastream/CMakeLists.txt @@ -7,4 +7,4 @@ set (httpdatastream_SOURCES add_library(httpdatastream SHARED ${httpdatastream_SOURCES}) target_include_directories(httpdatastream BEFORE PUBLIC ${Boost_INCLUDE_DIRS}) -target_link_libraries(httpdatastream ${musikcube_LINK_LIBS}) +target_link_libraries(httpdatastream ${LIBCURL})