On 12 July 2012 17:30, Yixun Liu <yxli...@gmail.com> wrote:
> 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?

http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:target_link_libraries

 [item1 [item2 [...]]]

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to