Finding bullet from custom location

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
cazfi
Space Floater
Posts: 42
Joined: Thu May 28, 2009 10:08 pm

Finding bullet from custom location

#1 Post by cazfi »

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.
Attachments

[The extension patch has been deactivated and can no longer be displayed.]


User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Finding bullet from custom location

#2 Post by Geoff the Medio »

I'll make that change... If someone else has problems as a result, hopefully they'll post about it.

Post Reply