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 )