diff options
| author | Rolf Eike Beer <eike@sf-mail.de> | 2012-11-03 21:35:44 +0100 |
|---|---|---|
| committer | Rolf Eike Beer <eike@sf-mail.de> | 2012-11-04 05:55:37 +0100 |
| commit | 8ebf74b02fe936888f7b3af59dd983405bef9cf7 (patch) | |
| tree | 2d71d53fd131166b94cc36ceafbf2ce13ff32aca /Modules/FindTclStub.cmake | |
| parent | d39bd3e6a8dc89637197c305102724c337b7fb0f (diff) | |
| download | cmake-8ebf74b02fe936888f7b3af59dd983405bef9cf7.tar.gz | |
Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include()
This solves a lots of warnings, e.g. in the FindModulesExecuteAll test. If the
installed version on the system is rather old this may even lead to bugs, e.g.
https://bugs.gentoo.org/show_bug.cgi?id=436540
Diffstat (limited to 'Modules/FindTclStub.cmake')
| -rw-r--r-- | Modules/FindTclStub.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindTclStub.cmake b/Modules/FindTclStub.cmake index e66f7bc21a..8dda94a79a 100644 --- a/Modules/FindTclStub.cmake +++ b/Modules/FindTclStub.cmake @@ -34,7 +34,7 @@ # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) -include(FindTCL) +include(${CMAKE_CURRENT_LIST_DIR}/FindTCL.cmake) get_filename_component(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH) get_filename_component(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH) |
