summaryrefslogtreecommitdiffstats
path: root/Modules/FindBullet.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-09-28 20:30:31 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-09-28 20:30:31 (GMT)
commitb01184022be821adc3fee277365d4f7bb6244ff2 (patch)
tree4ec9c1c5a335355f543190f51cf8f17156136767 /Modules/FindBullet.cmake
parent41e4f1a2109cc03008ef0d1db5cab1c9345866e3 (diff)
downloadCMake-b01184022be821adc3fee277365d4f7bb6244ff2.zip
CMake-b01184022be821adc3fee277365d4f7bb6244ff2.tar.gz
CMake-b01184022be821adc3fee277365d4f7bb6244ff2.tar.bz2
Use absolute path to FindPackageHandleStandardArgs.cmake everywhere
This is to avoid getting an (older) copy of FPHSA.cmake which is e.g. installed with KDE 4.5.0 and 4.5.1. Alex
Diffstat (limited to 'Modules/FindBullet.cmake')
-rw-r--r--Modules/FindBullet.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBullet.cmake b/Modules/FindBullet.cmake
index d10a388..50c8527 100644
--- a/Modules/FindBullet.cmake
+++ b/Modules/FindBullet.cmake
@@ -69,7 +69,7 @@ _FIND_BULLET_LIBRARY(BULLET_SOFTBODY_LIBRARY_DEBUG BulletSoftBody_d)
# handle the QUIETLY and REQUIRED arguments and set BULLET_FOUND to TRUE if
# all listed variables are TRUE
-include(FindPackageHandleStandardArgs)
+include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Bullet DEFAULT_MSG
BULLET_DYNAMICS_LIBRARY BULLET_COLLISION_LIBRARY BULLET_MATH_LIBRARY
BULLET_SOFTBODY_LIBRARY BULLET_INCLUDE_DIR)