parent
f0b282a695
commit
ea33323d18
@ -565,6 +565,12 @@ if(WITH_MYFILE_MMAP)
|
|||||||
add_definitions(-DMYFILE_MMAP)
|
add_definitions(-DMYFILE_MMAP)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Atomic is required in some builds: #6821
|
||||||
|
find_package(ATOMIC)
|
||||||
|
if(ATOMIC_FOUND)
|
||||||
|
target_link_libraries(executable ${ATOMIC_LIBRARIES})
|
||||||
|
endif()
|
||||||
|
|
||||||
if(WITH_LTO)
|
if(WITH_LTO)
|
||||||
# Using LTO with older versions of binutils requires setting extra flags
|
# Using LTO with older versions of binutils requires setting extra flags
|
||||||
set(BINUTILS_VERSION_MININUM "2.29")
|
set(BINUTILS_VERSION_MININUM "2.29")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user