summaryrefslogtreecommitdiffstats
path: root/Modules/FindTCL.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-10-19 19:53:16 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-10-19 19:53:16 (GMT)
commitb0fb2ad3e14adfee62d16439f509a65eee341f81 (patch)
treed09ffbb4d629f2764bbbedae5629b291ebaa8706 /Modules/FindTCL.cmake
parent915e5805d997eb748688a093519c8fa548118aa7 (diff)
parentb01184022be821adc3fee277365d4f7bb6244ff2 (diff)
downloadCMake-b0fb2ad3e14adfee62d16439f509a65eee341f81.zip
CMake-b0fb2ad3e14adfee62d16439f509a65eee341f81.tar.gz
CMake-b0fb2ad3e14adfee62d16439f509a65eee341f81.tar.bz2
Merge topic 'AddCMAKE_CURRENT_LIST_DIR'
b011840 Use absolute path to FindPackageHandleStandardArgs.cmake everywhere 41e4f1a Add automatic variable CMAKE_CURRENT_LIST_DIR(dir of CMAKE_CURRENT_LIST_FILE) f9fc79c Remove trailing whitespace
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 314d706..8d780c1 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(FindPackageHandleStandardArgs)
+INCLUDE("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TCL DEFAULT_MSG TCL_LIBRARY TCL_INCLUDE_PATH)
SET(TCLTK_FIND_REQUIRED ${TCL_FIND_REQUIRED})