aboutsummaryrefslogtreecommitdiff
path: root/ports/vtk/usage
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2021-09-28 11:57:22 +0800
committerGitHub <noreply@github.com>2021-09-27 20:57:22 -0700
commit878d3514eb247da3cb09db37f4ff3b4c7899d7a6 (patch)
tree9629c033f818108a599c175c59e2a5e931b5864b /ports/vtk/usage
parent1ea790bb36e7922f6feb612261d92126a506897e (diff)
downloadvcpkg-878d3514eb247da3cb09db37f4ff3b4c7899d7a6.tar.gz
vcpkg-878d3514eb247da3cb09db37f4ff3b4c7899d7a6.zip
[vtk] fix usage and add the usage file (#20356)
* [vtk] fix usage and add the usage file * version stuff * typo * version * Change qt5-base as a host port * version * Revert 433fe479010215756d26448e345bd874134a9324, push in wrong branch * Replace deprecate functions * version
Diffstat (limited to 'ports/vtk/usage')
-rw-r--r--ports/vtk/usage5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/vtk/usage b/ports/vtk/usage
new file mode 100644
index 000000000..bba2f6390
--- /dev/null
+++ b/ports/vtk/usage
@@ -0,0 +1,5 @@
+The package vtk provides CMake targets:
+
+ find_package(VTK REQUIRED)
+ include("${VTK_USE_FILE}")
+ target_link_libraries(main PRIVATE ${VTK_LIBRARIES})