mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-26 09:15:12 +00:00
Don't link against atomic
on macOS
This commit is contained in:
parent
6bccbcd50e
commit
0d15042483
@ -44,10 +44,14 @@ set (EXECUTABLE_OUTPUT_PATH ${musikcube_SOURCE_DIR}/bin)
|
||||
|
||||
link_directories ("${musikcube_SOURCE_DIR}/bin/plugins")
|
||||
|
||||
set(COMMON_LINK_LIBS ${BOOST_LINK_LIBS} curl pthread crypto)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
set (musikcube_LINK_LIBS ${BOOST_LINK_LIBS} curl pthread crypto)
|
||||
set (musikcube_LINK_LIBS ${COMMON_LINK_LIBS})
|
||||
elseif(CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
||||
set (musikcube_LINK_LIBS ${COMMON_LINK_LIBS} dl)
|
||||
else()
|
||||
set (musikcube_LINK_LIBS ${BOOST_LINK_LIBS} dl curl pthread crypto atomic)
|
||||
set (musikcube_LINK_LIBS ${COMMON_LINK_LIBS} dl atomic)
|
||||
endif()
|
||||
|
||||
include_directories (
|
||||
|
Loading…
Reference in New Issue
Block a user