diff options
author | Philip Lowman <philip@yhbt.com> | 2010-11-18 22:24:21 -0500 |
---|---|---|
committer | Philip Lowman <philip@yhbt.com> | 2010-11-18 22:24:21 -0500 |
commit | a44a05cd9de17f3dec7dbcae405e4f455176bd3a (patch) | |
tree | 0f1785dff79611572c36d0932247fb57d4d526a2 /Modules/FindBullet.cmake | |
parent | da0a463f17418d6f2c1846c48cc33caa6025095a (diff) | |
download | cmake-a44a05cd9de17f3dec7dbcae405e4f455176bd3a.tar.gz |
11430: FindBullet doesn't find header files installed by Bullet >= 2.77
Diffstat (limited to 'Modules/FindBullet.cmake')
-rw-r--r-- | Modules/FindBullet.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/FindBullet.cmake b/Modules/FindBullet.cmake index 50c8527495..ea0abb7aa2 100644 --- a/Modules/FindBullet.cmake +++ b/Modules/FindBullet.cmake @@ -31,7 +31,7 @@ macro(_FIND_BULLET_LIBRARY _var) find_library(${_var} NAMES ${ARGN} - PATHS + HINTS ${BULLET_ROOT} ${BULLET_ROOT}/out/release8/libs ${BULLET_ROOT}/out/debug8/libs @@ -50,9 +50,10 @@ macro(_BULLET_APPEND_LIBRARIES _list _release) endmacro() find_path(BULLET_INCLUDE_DIR NAMES btBulletCollisionCommon.h - PATHS + HINTS ${BULLET_ROOT}/include ${BULLET_ROOT}/src + PATH_SUFFIXES bullet ) # Find the libraries |