mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
fix atomic library to only fire off for clang
This commit is contained in:
parent
39f7fad71d
commit
48e14ef66c
1 changed files with 5 additions and 3 deletions
|
@ -462,10 +462,12 @@ endif()
|
|||
|
||||
list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
if(NOT MINGW AND NOT APPLE)
|
||||
find_library(ATOMIC atomic)
|
||||
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(version.cmake)
|
||||
|
||||
|
|
Loading…
Reference in a new issue