Add -lpthread as an explicity dependency.

This commit is contained in:
casey langen 2022-12-04 15:15:37 -08:00
parent b1fe7c35d6
commit 38f7e65c17

View File

@ -78,8 +78,9 @@ else()
endif()
find_library(LIBZ NAMES z)
find_library(PTHREAD NAMES pthread)
set(musikcube_LINK_LIBS ${DEFAULT_OS_SYSTEM_LIBS} ${LIBCURL} ${LIBSSL} ${LIBCRYPTO} ${LIBZ})
set(musikcube_LINK_LIBS ${DEFAULT_OS_SYSTEM_LIBS} ${LIBCURL} ${LIBSSL} ${LIBCRYPTO} ${LIBZ} ${PTHREAD})
if(NOT HAVE_CXX_ATOMICS_WITHOUT_LIB)
if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)