Commit 16f594c5 authored by Sandro Knauß's avatar Sandro Knauß
Browse files

Check if exteral library is needed to have atomic support.

Akonadi is using atomic feature. Not every platform has direct support
for it. For some libatomic is needed. CheckAtomic from
extra-cmake-modules make sure, test this feature and add the library if
needed.

Fixes: https://bugs.debian.org/961647
parent 4562b648
Pipeline #41500 failed with stage
in 17 minutes and 4 seconds
......@@ -8,7 +8,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
# ECM setup
set(KF5_MIN_VERSION "5.76.0")
set(KF5_MIN_VERSION "5.75.0")
find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
......@@ -24,6 +24,7 @@ include(ECMGeneratePriFile)
include(ECMSetupVersion)
include(FeatureSummary)
include(CheckAtomic)
include(CheckIncludeFiles)
include(ECMQtDeclareLoggingCategory)
include(CheckSymbolExists)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment