mirror of
https://github.com/wownero/wownero-ng.git
synced 2026-11-13 20:14:10 +01:00
cmake: don't try to link with atomic on Apple
-latomic is necessary with Clang on Linux, but apparently, on OSX it's not found.
This commit is contained in:
+1
-1
@@ -460,7 +460,7 @@ endif()
|
||||
|
||||
list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
|
||||
|
||||
if(NOT MINGW)
|
||||
if(NOT MINGW AND NOT APPLE)
|
||||
find_library(ATOMIC atomic)
|
||||
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user