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/FindPerl.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/FindPerl.cmake') diff --git a/Modules/FindPerl.cmake b/Modules/FindPerl.cmake index 85172d0b2d..87d1ff945e 100644 --- a/Modules/FindPerl.cmake +++ b/Modules/FindPerl.cmake @@ -44,7 +44,7 @@ SET(PERL ${PERL_EXECUTABLE}) # handle the QUIETLY and REQUIRED arguments and set PERL_FOUND to TRUE if # all listed variables are TRUE -INCLUDE("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake") +INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Perl DEFAULT_MSG PERL_EXECUTABLE) MARK_AS_ADVANCED(PERL_EXECUTABLE) -- cgit v1.2.1