From a086d083114a959a7aa12964573380fe8c7d4f53 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 20 Dec 2002 09:43:28 -0500 Subject: [PATCH] ENH: Use the Mac -framework for Tk if it is available. --- Modules/FindTCL.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake index 3021b62d3..23c2f838c 100644 --- a/Modules/FindTCL.cmake +++ b/Modules/FindTCL.cmake @@ -143,6 +143,9 @@ IF(APPLE) IF("${TCL_INCLUDE_PATH}" MATCHES "Tcl\\.framework") SET(TCL_LIBRARY "") ENDIF("${TCL_INCLUDE_PATH}" MATCHES "Tcl\\.framework") + IF("${TK_INCLUDE_PATH}" MATCHES "Tk\\.framework") + SET(TK_LIBRARY "") + ENDIF("${TK_INCLUDE_PATH}" MATCHES "Tk\\.framework") IF(TCL_HAVE_FRAMEWORK) IF(NOT TCL_LIBRARY) SET (TCL_LIBRARY "-framework Tcl" CACHE FILEPATH "Tcl Framework" FORCE)