VTK: How to use VTK in Cmake project?
## How to use VTK in Cmake project?
```sh
find_package(VTK)
include(${VTK_USE_FILE})
add_executable(creating_widgets creating_widgets.cpp )
target_link_libraries( creating_widgets
${VTK_LIBRARIES}
)
```
![yubao_blog_cover](https://raw.githubusercontent.com/yubaoliu/assets/image/yubao_blog_cover.png)
No comments