mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 22:58:52 +00:00
fix atomic library to only fire off for clang
This commit is contained in:
parent
39f7fad71d
commit
48e14ef66c
@ -462,9 +462,11 @@ endif()
|
|||||||
|
|
||||||
list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
|
list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
|
||||||
|
|
||||||
if(NOT MINGW AND NOT APPLE)
|
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||||
|
if(NOT MINGW AND NOT APPLE)
|
||||||
find_library(ATOMIC atomic)
|
find_library(ATOMIC atomic)
|
||||||
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
|
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(version.cmake)
|
include(version.cmake)
|
||||||
|
Loading…
Reference in New Issue
Block a user