fix CMakeLists.txt on Mac/Linux when using BUILD_SHARED_LIBS

This commit is contained in:
Erwin Coumans
2014-09-17 10:07:21 -07:00
parent 4352eb1ea4
commit 76f4bd9a9d
2 changed files with 4 additions and 3 deletions

View File

@@ -24,7 +24,6 @@ elseif (APPLE)
endif ()
if (BUILD_SHARED_LIBS)
target_link_libraries(Bullet3AppSupport OpenGLWindow Bullet3Common)
target_link_libraries(Bullet3AppSupport gwen OpenGLWindow ${OPENGL_gl_LIBRARY} BulletCollision LinearMath Bullet3Common)
endif()
target_link_libraries(Bullet3AppSupport ${OPENGL_gl_LIBRARY})