From b94df12081f7338c6b42a53d82bfdf7d4713547f Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Sat, 16 Jun 2018 10:20:43 -0700 Subject: [PATCH] add missing pthread link in App_HelloBulletRobotics --- examples/RobotSimulator/premake4.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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" }