This commit is contained in:
James Cherry 2020-01-23 08:04:37 -07:00
commit 25bf7b7ac8
3 changed files with 4 additions and 4 deletions

View File

@ -135,15 +135,15 @@ Optional CMake variables passed as -D<var>=<value> arguments to CMake are show b
``` ```
CMAKE_BUILD_TYPE DEBUG|RELEASE CMAKE_BUILD_TYPE DEBUG|RELEASE
CMAKE_CXX_FLAGS - additional compiler flags CMAKE_CXX_FLAGS - additional compiler flags
TCL_LIB - path to tcl library TCL_LIBRARY - path to tcl library
TCL_HEADER - path to tcl.h TCL_HEADER - path to tcl.h
CUDD - path to cudd installation CUDD - path to cudd installation
ZLIB_ROOT - path to zlib ZLIB_ROOT - path to zlib
CMAKE_INSTALL_PREFIX CMAKE_INSTALL_PREFIX
``` ```
If `TCL_LIB` is specified the CMake script will attempt to locate the If `TCL_LIBRARY` is specified the CMake script will attempt to locate
header from the library path. the header from the library path.
The default install directory is `/usr/local`. The default install directory is `/usr/local`.
To install in a different directory with CMake use: To install in a different directory with CMake use:

Binary file not shown.

View File

@ -1045,7 +1045,7 @@ SdfReader::findPin(const char *name)
{ {
if (path_) { if (path_) {
string path_name; string path_name;
stringPrint(path_name, path_, divider_, name); stringPrint(path_name, "%s%c%s", path_, divider_, name);
Pin *pin = network_->findPin(path_name.c_str()); Pin *pin = network_->findPin(path_name.c_str());
return pin; return pin;
} }