Skip to content

Commit

Permalink
Some Linux fixes for Box2D and Bullet.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitshifter committed Jul 12, 2011
1 parent 86d9aef commit caffd3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CMake/ExternalBox2D.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ INSTALL(DIRECTORY ${install_dir}/include/
FILES_MATCHING PATTERN "*.h")

# install debug lib
INSTALL(FILES ${install_dir}/lib/Box2D${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}Box2D${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Debug
CONFIGURATIONS Debug
RENAME Box2D_d${CMAKE_STATIC_LIBRARY_SUFFIX})

# install release lib
INSTALL(FILES ${install_dir}/lib/Box2D${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}Box2D${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Release
CONFIGURATIONS Release)

16 changes: 8 additions & 8 deletions CMake/ExternalBullet.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,39 +34,39 @@ INSTALL(DIRECTORY ${install_dir}/include/
FILES_MATCHING PATTERN "*.h")

# install debug libs
INSTALL(FILES ${install_dir}/lib/BulletDynamics${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}BulletDynamics${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Debug
CONFIGURATIONS Debug
RENAME BulletDynamics_d${CMAKE_STATIC_LIBRARY_SUFFIX})

INSTALL(FILES ${install_dir}/lib/BulletCollision${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}BulletCollision${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Debug
CONFIGURATIONS Debug
RENAME BulletCollision_d${CMAKE_STATIC_LIBRARY_SUFFIX})

INSTALL(FILES ${install_dir}/lib/BulletSoftBody${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}BulletSoftBody${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Debug
CONFIGURATIONS Debug
RENAME BulletSoftBody_d${CMAKE_STATIC_LIBRARY_SUFFIX})

INSTALL(FILES ${install_dir}/lib/LinearMath${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}LinearMath${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Debug
CONFIGURATIONS Debug
RENAME LinearMath_d${CMAKE_STATIC_LIBRARY_SUFFIX})

# install release libs
INSTALL(FILES ${install_dir}/lib/BulletDynamics${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}BulletDynamics${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Release
CONFIGURATIONS Release)

INSTALL(FILES ${install_dir}/lib/BulletCollision${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}BulletCollision${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Release
CONFIGURATIONS Release)

INSTALL(FILES ${install_dir}/lib/BulletSoftBody${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}BulletSoftBody${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Release
CONFIGURATIONS Release)

INSTALL(FILES ${install_dir}/lib/LinearMath${CMAKE_STATIC_LIBRARY_SUFFIX}
INSTALL(FILES ${install_dir}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}LinearMath${CMAKE_STATIC_LIBRARY_SUFFIX}
DESTINATION ${POLYCODE_DEPS_MODULES_PREFIX}/Lib/Release
CONFIGURATIONS Release)

0 comments on commit caffd3f

Please sign in to comment.