From e93ea443509fe5a618dbe241a45dfaecb5fcf58f Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sun, 8 Sep 2019 19:54:38 +0200 Subject: [PATCH] fix: cxx flag for armv6 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 21875e9..283063f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,8 @@ endif() set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) +set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -latomic") + ########## # If you include the drogon source code locally in your project, use this method to add drogon # add_subdirectory(drogon)