FindCABLE

查找 CABLE

此模块查找 CABLE 是否已安装,并确定头文件和库的位置。 此代码设置以下变量

CABLE             the path to the cable executable
CABLE_TCL_LIBRARY the path to the Tcl wrapper library
CABLE_INCLUDE_DIR the path to the include directory

要构建 Tcl 包装器,您应该添加共享库并将其链接到 ${CABLE_TCL_LIBRARY}。 您还应该添加 ${CABLE_INCLUDE_DIR} 作为包含目录。