diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-06 14:15:32 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-06 14:19:13 +0200 |
commit | 18393d3579d01c20e6536dcd60010e49babfaa47 (patch) | |
tree | 21e7ad8123a4fdb3684e8bf7642b2309316c1224 /cv/CMakeLists.txt | |
parent | 44aff948064986c22f0090323b35a68cf89952fd (diff) |
cmake: don't link against highgui
It can be linked against qt4 leading to runtime crash.
Diffstat (limited to 'cv/CMakeLists.txt')
-rw-r--r-- | cv/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cv/CMakeLists.txt b/cv/CMakeLists.txt index 0f29c4f2..6a1a18b4 100644 --- a/cv/CMakeLists.txt +++ b/cv/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenCV 3.0 QUIET) +find_package(OpenCV 3.0 QUIET COMPONENTS ${opencv-modules}) if(OpenCV_FOUND) opentrack_boilerplate(opentrack-cv STATIC) target_link_libraries(opentrack-cv ${OpenCV_LIBS}) |