diff --git a/CMakeLists.txt b/CMakeLists.txt index 14696689..fb2d9934 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 )