From 4fab12bf1e5d95f4bb0b4ab0ffe6a09ad321ce44 Mon Sep 17 00:00:00 2001 From: Richard E Barber Date: Wed, 30 Aug 2023 08:49:01 -0700 Subject: [PATCH] link to rth and rth-cli --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f1bc382e..abb86a108 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)