link error

Jed Brown jed at
Fri Feb 13 08:10:49 CST 2009

On Fri 2009-02-13 08:39, Yixun Liu wrote:
> Do I need to add link_directories(${PETSC_LIB_DIR})?

No, as with other Find* modules, ${PETSC_LIBRARIES} contains full paths.
CMake's link_directories command is not commonly used.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the petsc-users mailing list