summaryrefslogtreecommitdiffstats
path: root/Modules/FindTCL.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-09 16:35:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-09 16:35:38 (GMT)
commitcb95c0a5bc86387a518002d842ffe22b9ad67958 (patch)
treeacd109e096223c5ccfd1d568c6ea9fe40278a792 /Modules/FindTCL.cmake
parent6503a0eecce984c3c5ede6f0d1f4951a14f9cc3f (diff)
downloadCMake-cb95c0a5bc86387a518002d842ffe22b9ad67958.zip
CMake-cb95c0a5bc86387a518002d842ffe22b9ad67958.tar.gz
CMake-cb95c0a5bc86387a518002d842ffe22b9ad67958.tar.bz2
ENH: fix a bug in the find path stuff so that it can find headers deep in frameworks
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r--Modules/FindTCL.cmake20
1 files changed, 0 insertions, 20 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake
index aca36b5..79a4611 100644
--- a/Modules/FindTCL.cmake
+++ b/Modules/FindTCL.cmake
@@ -150,26 +150,6 @@ IF (WIN32)
)
ENDIF(WIN32)
-IF(Tcl_FRAMEWORKS)
- # If we are using the Tcl framework, link to it.
- IF("${TCL_INCLUDE_PATH}" MATCHES "Tcl\\.framework")
- SET(TCL_LIBRARY "")
- ENDIF("${TCL_INCLUDE_PATH}" MATCHES "Tcl\\.framework")
- IF(NOT TCL_LIBRARY)
- SET (TCL_LIBRARY "-framework Tcl" CACHE FILEPATH "Tcl Framework" FORCE)
- ENDIF(NOT TCL_LIBRARY)
-ENDIF(Tcl_FRAMEWORKS)
-
-IF(Tk_FRAMEWORKS)
- # If we are using the Tk framework, link to it.
- IF("${TK_INCLUDE_PATH}" MATCHES "Tk\\.framework")
- SET(TK_LIBRARY "")
- ENDIF("${TK_INCLUDE_PATH}" MATCHES "Tk\\.framework")
- IF(NOT TK_LIBRARY)
- SET (TK_LIBRARY "-framework Tk" CACHE FILEPATH "Tk Framework" FORCE)
- ENDIF(NOT TK_LIBRARY)
-ENDIF(Tk_FRAMEWORKS)
-
MARK_AS_ADVANCED(
TCL_STUB_LIBRARY
TCL_STUB_LIBRARY_DEBUG