summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-10 07:49:56 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 07:49:56 +0100
commitc77c59a6f5fe4cea94a304d4e7bd96d91114b99f (patch)
treedbd30993da1cbe574e07acf1adce5ecb6eee1cbc
parenta9ca349966dde20a8e9030c35c4a79f42c6e642b (diff)
fixup! cv: don't link against anything
-rw-r--r--cv/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/cv/CMakeLists.txt b/cv/CMakeLists.txt
index 24a5126c..68d7e365 100644
--- a/cv/CMakeLists.txt
+++ b/cv/CMakeLists.txt
@@ -1,7 +1,5 @@
find_package(OpenCV 3.0 QUIET COMPONENTS ${opencv-modules})
if(OpenCV_FOUND)
otr_module(cv STATIC)
- #set(modules opencv_core opencv_videoio)
- #target_link_libraries(opentrack-cv ${modules})
- target_include_directories(opentrack-cv SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
+ target_include_directories(opentrack-cv SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS})
endif()