From ce28737c933a749cbc84c601f3ac9f56e4c832aa Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Mon, 20 Dec 2010 21:56:51 +0100 Subject: Remove usage of CMAKE_CURRENT_LIST_DIR now that we have CMP0017 This puts the new search behaviour for included files in action, i.e. now when a file from Modules/ include()s another file, it also gets the one from Modules/ included, i.e. the one it expects. Alex --- Modules/FindLua51.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/FindLua51.cmake') diff --git a/Modules/FindLua51.cmake b/Modules/FindLua51.cmake index ea3e8f661c..e67d5455a8 100644 --- a/Modules/FindLua51.cmake +++ b/Modules/FindLua51.cmake @@ -66,7 +66,7 @@ IF(LUA_LIBRARY) ENDIF(UNIX AND NOT APPLE) ENDIF(LUA_LIBRARY) -INCLUDE("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake") +INCLUDE(FindPackageHandleStandardArgs) # handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if # all listed variables are TRUE FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lua51 DEFAULT_MSG LUA_LIBRARIES LUA_INCLUDE_DIR) -- cgit v1.2.1