Update CMakeLists.txt
authorAnton Malmygin <antonc27@mail.ru>
Wed, 15 May 2019 00:24:53 +0200
changeset 14980 5cd4edd71d22
parent 14958 896707084562
child 14981 372b25c6bdee
Update CMakeLists.txt
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)