From e46b7b2e7b5dec39055c87a502992bf9ebcf55ec Mon Sep 17 00:00:00 2001 From: Simon Lees <sflees@suse.de> Date: Fri, 13 May 2016 12:28:18 +0930 Subject: [PATCH] Fix bullet.pc when built with CMAKE_INSTALL_PREFIX #626 This makes the macro usage consitent between bullet.pc.in and BulletConfig.cmake.in, previously if the CMAKE_INSTALL_PREFIX was set you would end up with -I/usr/usr/include/bullet rather then -I/usr/include/bullet --- bullet.pc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bullet.pc.cmake b/bullet.pc.cmake index 8b989fa..2863ca1 100644 --- a/bullet.pc.cmake +++ b/bullet.pc.cmake @@ -3,4 +3,4 @@ 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 +Cflags: @BULLET_DOUBLE_DEF@ -I@INCLUDE_INSTALL_DIR@ -I@CMAKE_INSTALL_PREFIX@/include