ENH: Use the Mac -framework for Tk if it is available.

This commit is contained in:
Brad King 2002-12-20 09:43:28 -05:00
parent 1d0569e79d
commit a086d08311
1 changed files with 3 additions and 0 deletions

View File

@ -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)