diff --git a/examples/RobotSimulator/premake4.lua b/examples/RobotSimulator/premake4.lua index da007c232..37eb9197f 100644 --- a/examples/RobotSimulator/premake4.lua +++ b/examples/RobotSimulator/premake4.lua @@ -275,8 +275,13 @@ if not _OPTIONS["no-enet"] then if os.is("MacOSX") then links{"Cocoa.framework"} end + + + if os.is("Linux") then initX11() + links {"pthread"} + end + - files { "HelloBulletRobotics.cpp" }