diff options
| author | DrChat <arkolbed@gmail.com> | 2017-12-14 19:20:02 -0600 |
|---|---|---|
| committer | DrChat <arkolbed@gmail.com> | 2017-12-14 19:20:02 -0600 |
| commit | 02e37be4e559428b3e7d21853eb4c7255143c2c8 (patch) | |
| tree | d2012474f58f2f7ace57e27acc95afc26e6d337c /premake5.lua | |
| parent | d896c1f3f0cc668581c3049e5c453f5f12877251 (diff) | |
| parent | 0406f19f4da8114340dd222b0c6dba10215dd0f6 (diff) | |
Merge branch 'linux' of git://github.com/dougvj/xenia into linux
# Conflicts:
# .travis.yml
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua index 593f0503d..184a04c90 100644 --- a/premake5.lua +++ b/premake5.lua @@ -87,11 +87,28 @@ filter("platforms:Linux") toolset("clang") buildoptions({ -- "-mlzcnt", -- (don't) Assume lzcnt is supported. + "`pkg-config --cflags gtk+-x11-3.0`" }) links({ "pthread", + "dl", + "lz4", + "X11", + "xcb", + "X11-xcb", + "GL", + "GLEW", + "vulkan", + "c++", + "c++abi" + }) + linkoptions({ + "`pkg-config --libs gtk+-3.0`", }) +filter({"platforms:Linux", "kind:*App"}) + linkgroups("On") + filter({"platforms:Linux", "language:C++", "toolset:gcc"}) buildoptions({ "--std=c++11", @@ -105,7 +122,6 @@ filter({"platforms:Linux", "language:C++", "toolset:clang"}) "-stdlib=libc++", }) links({ - "c++", }) filter("platforms:Windows") |
