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

@@ -12,6 +12,9 @@ includedirs {".","../../src", "../ThirdPartyLibs"}
links {
"BulletSoftBody", "Bullet3Common","BulletInverseDynamicsUtils", "BulletInverseDynamics", "BulletDynamics","BulletCollision", "LinearMath", "BussIK"
}
if os.is("Linux") then
links{"dl"}
end
language "C++"

View File

@@ -73,6 +73,7 @@ links {
end
if os.is("Linux") then
defines {"_LINUX"}
links{"dl"}
end
if os.is("MacOSX") then
defines {"_DARWIN"}

View File

@@ -14,6 +14,7 @@ project ("App_PhysicsServerSharedMemoryBridgeUDP")
links {"Ws2_32","Winmm"}
end
if os.is("Linux") then
links{"dl"}
end
if os.is("MacOSX") then
end
@@ -68,6 +69,9 @@ if os.is("Windows") then
defines { "WIN32" }
links {"Ws2_32","Winmm"}
end
if os.is("Linux") then
links{"dl"}
end
language "C++"