diff --git a/premake5.lua b/premake5.lua index 4d4b3779f..9d5c43840 100644 --- a/premake5.lua +++ b/premake5.lua @@ -93,6 +93,7 @@ filter("platforms:Linux") "pthread", "dl", "lz4", + "rt", "X11", "xcb", "X11-xcb", @@ -105,9 +106,6 @@ filter("platforms:Linux") linkoptions({ "`pkg-config --libs gtk+-3.0`", }) - disablewarnings({ - "deprecated-register" - }) filter({"platforms:Linux", "kind:*App"}) linkgroups("On") @@ -122,10 +120,13 @@ filter({"platforms:Linux", "language:C++", "toolset:gcc"}) filter({"platforms:Linux", "language:C++", "toolset:clang"}) buildoptions({ "-std=c++14", - "-stdlib=libc++", + "-stdlib=libstdc++", }) links({ }) + disablewarnings({ + "deprecated-register" + }) filter("platforms:Windows") system("windows")