diff --git a/cmake/FindTCL.cmake b/cmake/FindTCL.cmake index 17cb3a62..7df9b71d 100644 --- a/cmake/FindTCL.cmake +++ b/cmake/FindTCL.cmake @@ -23,6 +23,7 @@ # searching OSX system directories before unix directories. set(TCL_POSSIBLE_NAMES + #tcl90 tcl9.0 tcl87 tcl8.7 tcl86 tcl8.6 tcl85 tcl8.5 @@ -32,6 +33,7 @@ set(TCL_POSSIBLE_NAMES if (NOT TCL_LIB_PATHS) if (CMAKE_SYSTEM_NAME STREQUAL "Darwin") set(TCL_LIB_PATHS + #/opt/homebrew/Cellar/tcl-tk/9.0.3/lib /opt/homebrew/Cellar/tcl-tk@8/8.6.17/lib /opt/homebrew/Cellar/tcl-tk@8/8.6.16/lib /opt/homebrew/opt/tcl-tk/lib /usr/local/lib) diff --git a/search/Search.tcl b/search/Search.tcl index dcc8f9dc..11394292 100644 --- a/search/Search.tcl +++ b/search/Search.tcl @@ -366,7 +366,8 @@ define_cmd_args "report_check_types" \ [> filename] [>> filename]} proc_redirect report_check_types { - global sta::float_inf sta::group_path_count_max + variable float_inf + variable group_path_count_max variable path_options parse_key_args "report_check_types" args \