aboutsummaryrefslogtreecommitdiff
path: root/ports/opencv/usage
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-01-19 14:46:52 -0800
committerRobert Schumacher <roschuma@microsoft.com>2018-01-19 14:46:52 -0800
commitf522ff0811b82ea4300aa373e5a5b4729a8b6bba (patch)
treefd5f7d17e8bc9c7d46c16f7d7214a403ec33bc2a /ports/opencv/usage
parentf5939bff670ae0719af2fa5d290e0e0ba21fdb79 (diff)
downloadvcpkg-f522ff0811b82ea4300aa373e5a5b4729a8b6bba.tar.gz
vcpkg-f522ff0811b82ea4300aa373e5a5b4729a8b6bba.zip
[opencv] Improve CMake usage instructions
Diffstat (limited to 'ports/opencv/usage')
-rw-r--r--ports/opencv/usage5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/opencv/usage b/ports/opencv/usage
new file mode 100644
index 000000000..b9df60b82
--- /dev/null
+++ b/ports/opencv/usage
@@ -0,0 +1,5 @@
+The package opencv provides CMake integration:
+
+ find_package(OpenCV REQUIRED)
+ include_directories(${OpenCV_INCLUDE_DIRS})
+ target_link_libraries(main PRIVATE ${OpenCV_LIBS})