From fb8d83b9b5e983eaa419a469be99e77d9059191d Mon Sep 17 00:00:00 2001 From: Doug Johnson Date: Sat, 8 Jul 2017 02:33:12 -0600 Subject: [PATCH] Add compile and link flags for Linux platform (X11, vulkan, gtk, etc) --- premake5.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index 8626ec7fb..6f015fc54 100644 --- a/premake5.lua +++ b/premake5.lua @@ -90,6 +90,14 @@ filter("platforms:Linux") }) links({ "pthread", + "lz4", + "X11", + "GL", + "GLEW", + "vulkan", + }) + linkoptions({ + "`pkg-config --libs gtk+-3.0`", }) filter({"platforms:Linux", "language:C++", "toolset:gcc"}) @@ -102,10 +110,13 @@ filter({"platforms:Linux", "language:C++", "toolset:gcc"}) filter({"platforms:Linux", "language:C++", "toolset:clang"}) buildoptions({ "-std=c++14", +<<<<<<< HEAD "-stdlib=libc++", +======= +-- "-stdlib=libc++", -- Seems to happier using gcc's libc++ +>>>>>>> d50e6f18... Add Linux build params for gtk, libvulkan, etc }) links({ - "c++", }) filter("platforms:Windows")