summaryrefslogtreecommitdiffhomepage
path: root/video/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-11 20:07:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-11 20:21:36 +0100
commit85fc6ac25d350950be56ba47b06c247216f2e22a (patch)
tree6a4b4a65e9084c9595c28c4045824376a8c577d3 /video/CMakeLists.txt
parent5d6cccb406e4aa4fe3e8430690296e5f59474e48 (diff)
video/widget: externalize opencv code
Diffstat (limited to 'video/CMakeLists.txt')
-rw-r--r--video/CMakeLists.txt8
1 files changed, 1 insertions, 7 deletions
diff --git a/video/CMakeLists.txt b/video/CMakeLists.txt
index 3bf04d75..0a9dfd24 100644
--- a/video/CMakeLists.txt
+++ b/video/CMakeLists.txt
@@ -1,7 +1 @@
-find_package(OpenCV QUIET)
-otr_module(video STATIC)
-if(OpenCV_FOUND)
- target_compile_definitions(${self} PUBLIC -DOTR_VIDEO_HAS_OPENCV)
- target_link_libraries(${self} opencv_videoio opencv_core)
-endif()
-
+otr_module(video BIN)