diff -r 896707084562 -r 5cd4edd71d22 QTfrontend/CMakeLists.txt --- a/QTfrontend/CMakeLists.txt Tue May 14 03:23:34 2019 +0200 +++ b/QTfrontend/CMakeLists.txt Wed May 15 00:24:53 2019 +0200 @@ -248,7 +248,10 @@ endif() if(CMAKE_CXX_COMPILER MATCHES "clang*") - list(APPEND HW_LINK_LIBS stdc++ m atomic) + list(APPEND HW_LINK_LIBS stdc++ m) + if(NOT APPLE) + list(APPEND HW_LINK_LIBS atomic) + endif() endif() if(WIN32 AND VCPKG_TOOLCHAIN)