mirror of
https://github.com/boostorg/uuid.git
synced 2026-01-19 04:42:16 +00:00
fix: Disable libatomic link for windows arm64
CLANGARM64 does not have libatomic, disable it Signed-off-by: Coia Prant <coiaprant@gmail.com>
This commit is contained in:
@@ -38,6 +38,13 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT CMAKE_CXX_COMPILER_FRONTEND_VA
|
||||
|
||||
endif()
|
||||
|
||||
# CLANGARM64 does not have libatomic, disable it
|
||||
if(MINGW AND CMAKE_SYSTEM_PROCESSOR MATCHES "ARM64")
|
||||
|
||||
set(_def_linkatomic OFF)
|
||||
|
||||
endif()
|
||||
|
||||
option(BOOST_UUID_LINK_LIBATOMIC "Boost.UUID: link Boost::uuid to libatomic" ${_def_linkatomic})
|
||||
|
||||
unset(_def_linkatomic)
|
||||
|
||||
Reference in New Issue
Block a user