Use -latomic linker flag to fix linking errors on the RPI4

This commit is contained in:
casey langen 2019-10-19 20:51:59 -07:00
parent c796b19e72
commit 6bccbcd50e

View File

@ -47,7 +47,7 @@ link_directories ("${musikcube_SOURCE_DIR}/bin/plugins")
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set (musikcube_LINK_LIBS ${BOOST_LINK_LIBS} curl pthread crypto)
else()
set (musikcube_LINK_LIBS ${BOOST_LINK_LIBS} dl curl pthread crypto)
set (musikcube_LINK_LIBS ${BOOST_LINK_LIBS} dl curl pthread crypto atomic)
endif()
include_directories (