mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 04:52:32 +00:00
Fix FreeBSD compile.
This commit is contained in:
parent
1498f08b53
commit
8c4397470d
@ -3,7 +3,3 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|||||||
list(APPEND DEFAULT_OS_SYSTEM_LIBS ${LIBDL})
|
list(APPEND DEFAULT_OS_SYSTEM_LIBS ${LIBDL})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
|
||||||
find_library(LIBPTHREAD NAMES libpthread.a)
|
|
||||||
list(APPEND DEFAULT_OS_SYSTEM_LIBS ${LIBPTHREAD})
|
|
||||||
endif()
|
|
@ -7,4 +7,4 @@ set (httpdatastream_SOURCES
|
|||||||
add_library(httpdatastream SHARED ${httpdatastream_SOURCES})
|
add_library(httpdatastream SHARED ${httpdatastream_SOURCES})
|
||||||
|
|
||||||
target_include_directories(httpdatastream BEFORE PUBLIC ${Boost_INCLUDE_DIRS})
|
target_include_directories(httpdatastream BEFORE PUBLIC ${Boost_INCLUDE_DIRS})
|
||||||
target_link_libraries(httpdatastream ${musikcube_LINK_LIBS})
|
target_link_libraries(httpdatastream ${LIBCURL})
|
||||||
|
Loading…
Reference in New Issue
Block a user