From e5fa037aebd9c74355200aec8a0cc77f2a15675e Mon Sep 17 00:00:00 2001 From: lazymio Date: Thu, 28 Dec 2023 23:38:33 +0800 Subject: [PATCH] Also add atomic to samples lib linkage --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1469668988..fb2d993437 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1381,6 +1381,13 @@ else() ) endif() +if(ATOMIC_LINKAGE_FIX) + set(SAMPLES_LIB + ${SAMPLES_LIB} + atomic + ) +endif() + target_include_directories(unicorn PUBLIC include )