[CMake Linux] Only include pthread and rt in target_link_libraries for ld.gold support (Alchemy sync)

Fixes CMake warnings on Linux
This commit is contained in:
Router Gray
2019-12-20 16:37:39 -06:00
parent 0496374328
commit c68e00730e
5 changed files with 6 additions and 17 deletions

View File

@@ -227,7 +227,8 @@ target_link_libraries(
${OPENSSL_LIBRARIES}
${CRYPTO_LIBRARIES}
${XMLRPCEPI_LIBRARIES}
)
${PTHREAD_LIBRARY}
)
# tests
if (LL_TESTS)