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
This commit is contained in:
Alex Neundorf
2010-12-20 21:56:51 +01:00
committed by Brad King
parent 7db8db5b72
commit ce28737c93
86 changed files with 86 additions and 86 deletions
+1 -1
View File
@@ -153,5 +153,5 @@ IF(CMAKE_USE_PTHREADS_INIT)
ENDIF()
ENDIF(CMAKE_USE_PTHREADS_INIT)
INCLUDE("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Threads DEFAULT_MSG Threads_FOUND)