fix Linux premake build

This commit is contained in:
Erwin Coumans (Google)
2017-02-22 10:39:37 -08:00
parent bd30ba30ce
commit e1504eb990

View File

@@ -51,6 +51,9 @@ project ("Test_PhysicsClientUDP")
defines { "WIN32" } defines { "WIN32" }
links {"Ws2_32","Winmm"} links {"Ws2_32","Winmm"}
end end
if os.is("Linux") then
links {"pthread"}
end
defines {"PHYSICS_UDP"} defines {"PHYSICS_UDP"}
@@ -139,9 +142,6 @@ project ("Test_PhysicsClientTCP")
"../../examples/Utils/b3ResourcePath.h", "../../examples/Utils/b3ResourcePath.h",
"../../examples/SharedMemory/PhysicsDirect.cpp", "../../examples/SharedMemory/PhysicsDirect.cpp",
"../../examples/Utils/b3Clock.cpp", "../../examples/Utils/b3Clock.cpp",
"../../examples/MultiThreading/b3PosixThreadSupport.cpp",
"../../examples/MultiThreading/b3Win32ThreadSupport.cpp",
"../../examples/MultiThreading/b3ThreadSupportInterface.cpp",
} }