add pthread/DL to App_RobotSimulator_NoGUI for Linux (not Win32/Apple)

This commit is contained in:
erwincoumans committed 2018-02-02 19:12:02 -08:00
1 parent c93b9a6165
commit 64a505ec19
1 file changed
+5
+5
View File
@@ -109,6 +109,11 @@ IF(WIN32)
IF(BUILD_ENET OR BUILD_CLSOCKET)
TARGET_LINK_LIBRARIES(App_RobotSimulator_NoGUI ws2_32 )
ENDIF(BUILD_ENET OR BUILD_CLSOCKET)
ELSE()
IF(APPLE)
ELSE(APPLE)
LINK_LIBRARIES( pthread ${DL} )
ENDIF(APPLE)
ENDIF(WIN32)
TARGET_LINK_LIBRARIES(App_RobotSimulator_NoGUI BulletRobotics BulletFileLoader BulletWorldImporter BulletSoftBody BulletDynamics BulletCollision BulletInverseDynamicsUtils BulletInverseDynamics LinearMath Bullet3Common)