FindTCL.cmake look in /opt/homebrew

Signed-off-by: James Cherry <cherry@CerezoM1Book.local>
This commit is contained in:
James Cherry 2021-11-22 16:43:31 -08:00
parent 62989819a6
commit 378020d2bd
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ set(TCL_POSSIBLE_NAMES tcl87 tcl8.7
# tcl lib path guesses.
if (NOT TCL_LIB_PATHS)
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(TCL_LIB_PATHS /usr/local/lib)
set(TCL_LIB_PATHS /usr/local/lib /opt/homebrew/opt/tcl-tk/lib)
set(TCL_NO_DEFAULT_PATH TRUE)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(TCL_LIB_PATHS /usr/lib /usr/local/lib)