Index: build/premake/extern_libs5.lua =================================================================== --- build/premake/extern_libs5.lua +++ build/premake/extern_libs5.lua @@ -242,6 +242,13 @@ }) end, }, + atomic = { + link_settings = function() + add_default_links({ + unix_names = { "atomic" }, + }) + end, + }, fcollada = { compile_settings = function() add_source_include_paths("fcollada") Index: build/premake/premake5.lua =================================================================== --- build/premake/premake5.lua +++ build/premake/premake5.lua @@ -598,6 +598,7 @@ "enet", "sdl", "boost", -- dragged in via server->simulation.h->random and NetSession.h->lockfree + "atomic", "fmt", } if not _OPTIONS["without-miniupnpc"] then @@ -964,6 +965,7 @@ "fmt", "valgrind", + "atomic", } if not os.istarget("windows") and not _OPTIONS["android"] and not os.istarget("macosx") then