diff options
author | Brad King <brad.king@kitware.com> | 2002-12-20 14:43:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-12-20 14:43:28 (GMT) |
commit | a086d083114a959a7aa12964573380fe8c7d4f53 (patch) | |
tree | fd45600610fbd5290822395da21a004397bfa8a5 /Modules/FindTCL.cmake | |
parent | 1d0569e79d4f33b2f73c217f0c26f024efad4213 (diff) | |
download | CMake-a086d083114a959a7aa12964573380fe8c7d4f53.zip CMake-a086d083114a959a7aa12964573380fe8c7d4f53.tar.gz CMake-a086d083114a959a7aa12964573380fe8c7d4f53.tar.bz2 |
ENH: Use the Mac -framework for Tk if it is available.
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r-- | Modules/FindTCL.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake index 3021b62..23c2f83 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) |