# HG changeset patch # User Anton Malmygin # Date 1557937859 -7200 # Node ID 372b25c6bdee2f99d184a700701572692cda0781 # Parent 364b67d48279a189740b07d8e901eddb35a3ddec# Parent 5cd4edd71d22c9994252e91135c1536d28ef92dd Merge pull request #62 from hedgewars/ci-patch-osx-atomic Fix pas2c compilation on macOS diff -r 364b67d48279 -r 372b25c6bdee QTfrontend/CMakeLists.txt --- a/QTfrontend/CMakeLists.txt Wed May 15 16:25:29 2019 +0000 +++ b/QTfrontend/CMakeLists.txt Wed May 15 18:30:59 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)