fix premake build for linux, thanks to @consultit

See also issue #1538
This commit is contained in:
Erwin Coumans
2018-02-09 18:46:26 -08:00
parent be5e58772e
commit 508550c5e9
32 changed files with 108 additions and 5 deletions

View File

@@ -3,7 +3,11 @@ project "App_BulletExampleBrowser"
language "C++"
kind "ConsoleApp"
if os.is("Linux") then
buildoptions{"-fPIC"}
end
hasCL = findOpenCL("clew")
if (hasCL) then
@@ -209,6 +213,10 @@ project "BulletExampleBrowserLib"
"../../src",
"../ThirdPartyLibs",
}
if os.is("Linux") then
buildoptions{"-fPIC"}
end
if _OPTIONS["lua"] then
includedirs{"../ThirdPartyLibs/lua-5.2.3/src"}