fix(cmake): remove libatomic dependency (#4811)

This commit is contained in:
Aleksandar Fabijanic 2024-12-07 17:35:39 -05:00 committed by GitHub
parent d13fac600a
commit e2576ff5ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -159,7 +159,7 @@ else()
target_link_libraries(Foundation PUBLIC ${CMAKE_DL_LIBS} rt Threads::Threads) target_link_libraries(Foundation PUBLIC ${CMAKE_DL_LIBS} rt Threads::Threads)
else() else()
target_compile_definitions(Foundation PUBLIC _XOPEN_SOURCE=500 POCO_HAVE_FD_EPOLL) target_compile_definitions(Foundation PUBLIC _XOPEN_SOURCE=500 POCO_HAVE_FD_EPOLL)
target_link_libraries(Foundation PUBLIC pthread atomic ${CMAKE_DL_LIBS} rt) target_link_libraries(Foundation PUBLIC pthread ${CMAKE_DL_LIBS} rt)
endif() endif()
endif(APPLE) endif(APPLE)
endif(UNIX AND NOT ANDROID) endif(UNIX AND NOT ANDROID)