diff --git a/bullet.pc.cmake b/bullet.pc.cmake index 8b989faba..1630d2979 100644 --- a/bullet.pc.cmake +++ b/bullet.pc.cmake @@ -1,6 +1,11 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +libdir=${exec_prefix}/@LIB_DESTINATION@ +includedir=${prefix}/@INCLUDE_INSTALL_DIR@ + Name: bullet Description: Bullet Continuous Collision Detection and Physics Library -Requires: Version: @BULLET_VERSION@ -Libs: -L@CMAKE_INSTALL_PREFIX@/@LIB_DESTINATION@ -lBulletSoftBody -lBulletDynamics -lBulletCollision -lLinearMath -Cflags: @BULLET_DOUBLE_DEF@ -I@CMAKE_INSTALL_PREFIX@/@INCLUDE_INSTALL_DIR@ -I@CMAKE_INSTALL_PREFIX@/include +Requires: +Libs: -L${libdir} -lBulletSoftBody -lBulletDynamics -lBulletCollision -lLinearMath +Cflags: @BULLET_DOUBLE_DEF@ -I${includedir} -I${prefix}/include