diff options
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) |