Merge pull request #6832 from Benitoite/patch-28

link to rth and rth-cli
This commit is contained in:
Beep6581 2023-09-04 00:05:51 +02:00 committed by GitHub
commit 71f3c8adab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -568,7 +568,8 @@ endif()
# Atomic is required in some builds: #6821
find_package(ATOMIC)
if(ATOMIC_FOUND)
target_link_libraries(executable ${ATOMIC_LIBRARIES})
target_link_libraries(rth ${ATOMIC_LIBRARIES})
target_link_libraries(rth-cli ${ATOMIC_LIBRARIES})
endif()
if(WITH_LTO)