summaryrefslogtreecommitdiffstats
path: root/Modules/FindTCL.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-11 20:52:13 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-01-11 20:52:13 (GMT)
commit764015c2840b1059093e8af86dcbf96e048d2dfa (patch)
tree47e3cb60b5516bb320182fb3a5229985690c853e /Modules/FindTCL.cmake
parentd4ed72e3bb4d3ca85750c21eae21a0273207e0dc (diff)
parentce28737c933a749cbc84c601f3ac9f56e4c832aa (diff)
downloadCMake-764015c2840b1059093e8af86dcbf96e048d2dfa.zip
CMake-764015c2840b1059093e8af86dcbf96e048d2dfa.tar.gz
CMake-764015c2840b1059093e8af86dcbf96e048d2dfa.tar.bz2
Merge topic 'policy-CMP0017'
ce28737 Remove usage of CMAKE_CURRENT_LIST_DIR now that we have CMP0017 7db8db5 Improve documentation and messages for the new CMP0017 db44848 Prefer files from CMAKE_ROOT when including from CMAKE_ROOT 1e69c6f Merge branch 'user-policy-defaults' into policy-CMP0017 65a0a2a Merge branch 'include-command-whitespace' into policy-CMP0017
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r--Modules/FindTCL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake
index 8cfd9ca..b206c9a 100644
--- a/Modules/FindTCL.cmake
+++ b/Modules/FindTCL.cmake
@@ -197,7 +197,7 @@ FIND_PATH(TK_INCLUDE_PATH
# handle the QUIETLY and REQUIRED arguments and set TCL_FOUND to TRUE if
# all listed variables are TRUE
-INCLUDE("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
+INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TCL DEFAULT_MSG TCL_LIBRARY TCL_INCLUDE_PATH)
SET(TCLTK_FIND_REQUIRED ${TCL_FIND_REQUIRED})