View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013530 | CMake | CMake | public | 2012-09-12 08:22 | 2012-09-12 13:59 | ||||
Reporter | prevot | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | Linux | OS Version | ||||||
Product Version | CMake 2.8.9 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013530: FindBullet.cmake should be able to check installs in /usr/local | ||||||||
Description | When installing bullet (with make install) it goes in /usr/local/include/bullet and /usr/local/lib. We should be able to use find_package(Bullet) with BOOST_ROOT=/usr/local. To do this you need to add ${BULLET_ROOT}/include/bullet when looking for includes (after line 55 fore example) | ||||||||
Additional Information | --- /usr/share/cmake-2.8/Modules/FindBullet.cmake 2012-09-12 12:36:35.716125456 +0200 +++ FinBullet.cmake 2012-09-12 14:07:03.544471313 +0200 @@ -53,6 +53,7 @@ HINTS ${BULLET_ROOT}/include ${BULLET_ROOT}/src + ${BULLET_ROOT}/include/bullet PATH_SUFFIXES bullet ) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0031005) Rolf Eike Beer (developer) 2012-09-12 10:00 |
You meant BULLET_ROOT, not BOOST_ROOT, didn't you? And the PATH_SUFFIXES bullet below should do exactly what you want, i.e. it will check both ${BULLET_ROOT}/include and ${BULLET_ROOT}/include/bullet. Have you tested this and it did not work? |
(0031016) prevot (reporter) 2012-09-12 12:16 |
woops number 1: yes I meant BULLET_ROOT woops number 2: the problem occured on my coworker's machine (cmake 2.8 with bullet in /usr/local), but I made the patch on my machine (cmake 2.9 with bullet in /usr)... indeed the PATH_SUFFIXES that was added in 2.9 does the trick Sorry fore the spam then, and this bug can be closed as invalid. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-09-12 08:22 | prevot | New Issue | |
2012-09-12 10:00 | Rolf Eike Beer | Note Added: 0031005 | |
2012-09-12 12:16 | prevot | Note Added: 0031016 | |
2012-09-12 13:59 | Rolf Eike Beer | Status | new => closed |
2012-09-12 13:59 | Rolf Eike Beer | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |