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)