Fix FreeBSD compile.

This commit is contained in:
casey langen 2022-02-10 10:31:14 -08:00
parent 1498f08b53
commit 8c4397470d
2 changed files with 1 additions and 5 deletions

View File

@ -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()

View File

@ -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})