From 4239842d34903532534eff98913560508a89a9da Mon Sep 17 00:00:00 2001 From: James Cherry Date: Fri, 29 May 2026 09:49:12 -0700 Subject: [PATCH] FindTCL.cmake Signed-off-by: James Cherry --- cmake/FindTCL.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/FindTCL.cmake b/cmake/FindTCL.cmake index 26d6d7ce..a5978b8a 100644 --- a/cmake/FindTCL.cmake +++ b/cmake/FindTCL.cmake @@ -29,14 +29,14 @@ set(TCL_POSSIBLE_NAMES tcl85 tcl8.5 ) -# tcl lib path guesses. +# TCL lib path guesses. if (NOT TCL_LIB_PATHS) if (CMAKE_SYSTEM_NAME STREQUAL "Darwin") + file(GLOB tcl_homebrew_libs + /opt/homebrew/Cellar/tcl-tk@8/*/lib + ) set(TCL_LIB_PATHS - #/opt/homebrew/Cellar/tcl-tk/9.0.3/lib - /opt/homebrew/Cellar/tcl-tk@8/8.6.18/lib - /opt/homebrew/Cellar/tcl-tk@8/8.6.17/lib - /opt/homebrew/Cellar/tcl-tk@8/8.6.16/lib + ${tcl_homebrew_libs} /opt/homebrew/opt/tcl-tk/lib /usr/local/lib) set(TCL_NO_DEFAULT_PATH TRUE) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")