diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b8ab0c75..22afd0270 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,6 +37,7 @@ IF (BULLET2_USE_THREAD_LOCKS) ENDIF (MSVC) ENDIF (BULLET2_USE_THREAD_LOCKS) + IF(NOT WIN32) SET(DL dl) IF(CMAKE_SYSTEM_NAME MATCHES "Linux")