diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-26 17:42:55 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-26 17:42:55 (GMT) |
commit | 62fec96d993975775410ebc2dceaa65b03a12ae2 (patch) | |
tree | b0c838f8eff3f47c1bd7bad7b63614643a333661 /Modules/FindTCL.cmake | |
parent | 56a826968ffea01b58bca341f9013d1c912fef18 (diff) | |
download | CMake-62fec96d993975775410ebc2dceaa65b03a12ae2.zip CMake-62fec96d993975775410ebc2dceaa65b03a12ae2.tar.gz CMake-62fec96d993975775410ebc2dceaa65b03a12ae2.tar.bz2 |
ENH: Add TCL_FOUND
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r-- | Modules/FindTCL.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake index b55ce44..811c528 100644 --- a/Modules/FindTCL.cmake +++ b/Modules/FindTCL.cmake @@ -176,3 +176,13 @@ MARK_AS_ADVANCED( TK_STUB_LIBRARY TK_STUB_LIBRARY_DEBUG ) + +IF(TCL_INCLUDE_PATH) + IF(TK_INCLUDE_PATH) + IF(TCL_LIBRARY) + IF(TK_LIBRARY) + SET(TCL_FOUND 1) + ENDIF(TK_LIBRARY) + ENDIF(TCL_LIBRARY) + ENDIF(TK_INCLUDE_PATH) +ENDIF(TCL_INCLUDE_PATH) |