diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 29b90366e..50e0c91f9 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -250,7 +250,7 @@ if (APPLE) set_target_properties(proxmark3 PROPERTIES COMPILE_FLAGS "-I/usr/local/opt/readline/include") else (APPLE) # required for Raspberry Pi, but breaks with clang (OSX). Need to be at the end of the linker line. - set(ADDITIONAL_LNK "-Wl,--as-needed -latomic -Wl,--no-as-needed") + set(ADDITIONAL_LNK ${ADDITIONAL_LNK} -Wl,--as-needed -latomic -Wl,--no-as-needed) endif (APPLE)