diff --git a/examples/RobotSimulator/CMakeLists.txt b/examples/RobotSimulator/CMakeLists.txt index b2d6c2412..c17481f8c 100644 --- a/examples/RobotSimulator/CMakeLists.txt +++ b/examples/RobotSimulator/CMakeLists.txt @@ -149,7 +149,7 @@ ELSE() IF(NOT APPLE) FIND_PACKAGE(Threads) TARGET_LINK_LIBRARIES( App_HelloBulletRobotics ${CMAKE_THREAD_LIBS_INIT} ${DL} ) - ENDIF(APPLE) + ENDIF(NOT APPLE) ENDIF(WIN32)