summaryrefslogtreecommitdiff
path: root/Modules/FindLua50.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-09-28 22:30:31 +0200
committerAlex Neundorf <neundorf@kde.org>2010-09-28 22:30:31 +0200
commitb01184022be821adc3fee277365d4f7bb6244ff2 (patch)
tree4ec9c1c5a335355f543190f51cf8f17156136767 /Modules/FindLua50.cmake
parent41e4f1a2109cc03008ef0d1db5cab1c9345866e3 (diff)
downloadcmake-b01184022be821adc3fee277365d4f7bb6244ff2.tar.gz
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/FindLua50.cmake')
-rw-r--r--Modules/FindLua50.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLua50.cmake b/Modules/FindLua50.cmake
index 091e596b28..cb979f1f0e 100644
--- a/Modules/FindLua50.cmake
+++ b/Modules/FindLua50.cmake
@@ -87,7 +87,7 @@ ELSE(${LUA_LIBRARY_lua} MATCHES "framework")
ENDIF(${LUA_LIBRARY_lua} MATCHES "framework")
-INCLUDE(FindPackageHandleStandardArgs)
+INCLUDE("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if
# all listed variables are TRUE
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lua50 DEFAULT_MSG LUA_LIBRARIES LUA_INCLUDE_DIR)