summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-06 14:15:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-06 14:19:13 +0200
commit18393d3579d01c20e6536dcd60010e49babfaa47 (patch)
tree21e7ad8123a4fdb3684e8bf7642b2309316c1224 /cmake
parent44aff948064986c22f0090323b35a68cf89952fd (diff)
cmake: don't link against highgui
It can be linked against qt4 leading to runtime crash.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-platform.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index e112e86a..567ba0cb 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -68,3 +68,5 @@ endif()
if(MINGW)
add_definitions(-DMINGW_HAS_SECURE_API)
endif()
+
+set(opencv-modules opencv_calib3d opencv_core opencv_features2d opencv_imgcodecs opencv_imgproc opencv_objdetect opencv_video opencv_videoio)