[CMake] add additional lib

Yixun Liu yxliuwm at gmail.com
Thu Jul 12 12:30:16 EDT 2012


Hi,
I am using
# Find VTK
FIND_PACKAGE(VTK REQUIRED)
IF(VTK_FOUND)
  INCLUDE(${VTK_USE_FILE})
ENDIF(VTK_FOUND)

VTK_LIBRARIES does not include one lib.

TARGET_LINK_LIBRARIES(ProjecctName  ${VTK_LIBRARIES}

How to add this lib into the variable VTK_LIBRARIES  or
TARGET_LINK_LIBRARIES?

Thank you.

Yixun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120712/9415023f/attachment.htm>


More information about the CMake mailing list