From b692ec87f7f15a69a3d89afcafc0a39ad651f318 Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Fri, 2 Feb 2018 20:22:53 -0800 Subject: [PATCH] fix #3 --- Extras/BulletRobotics/CMakeLists.txt | 2 +- examples/RobotSimulator/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Extras/BulletRobotics/CMakeLists.txt b/Extras/BulletRobotics/CMakeLists.txt index 192799fa8..b2c4523b6 100644 --- a/Extras/BulletRobotics/CMakeLists.txt +++ b/Extras/BulletRobotics/CMakeLists.txt @@ -122,7 +122,7 @@ ELSE(WIN32) ENDIF(BUILD_CLSOCKET) IF(NOT APPLE) - TARGET_LINK_LIBRARIES( pthread ${DL} ) + LINK_LIBRARIES( pthread ${DL} ) ENDIF(APPLE) ENDIF(WIN32) diff --git a/examples/RobotSimulator/CMakeLists.txt b/examples/RobotSimulator/CMakeLists.txt index dfebf4b2d..0647edf72 100644 --- a/examples/RobotSimulator/CMakeLists.txt +++ b/examples/RobotSimulator/CMakeLists.txt @@ -112,7 +112,7 @@ IF(WIN32) ELSE() IF(APPLE) ELSE(APPLE) - TARGET_LINK_LIBRARIES( pthread ${DL} ) + TARGET_LINK_LIBRARIES( App_RobotSimulator_NoGUI pthread ${DL} ) ENDIF(APPLE) ENDIF(WIN32)