I'm trying to use bullet built to custom prefix. FindBullet.cmake has comment claiming that there's no bullet.pc so it has its own finding methods. This comment is not true, at least not with latest bullet. However, FindBullet.cmake seems to support environment variable BULLET_HOME to set custom location for bullet. It expects directory structure different than what bullet install, though; header directory 'bullet' is expected in root, not in directory 'include', libraries on the other hand live just right in 'libs'. Is there some bullet distribution where that directory structure FindBullet.cmake expects is correct, or is that plain bug?
I'm attaching patch that fixed this for me.
Finding bullet from custom location
Moderator: Oberlus
Finding bullet from custom location
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Finding bullet from custom location
I'll make that change... If someone else has problems as a result, hopefully they'll post about it.