From 0e6df89fe42105d87ff4b4aebd5ca598c22ff72a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 5 Jun 2018 08:38:03 +0200 Subject: cmake: random stuff --- cv/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cv') diff --git a/cv/CMakeLists.txt b/cv/CMakeLists.txt index 47c5a6dc..1007344c 100644 --- a/cv/CMakeLists.txt +++ b/cv/CMakeLists.txt @@ -1,6 +1,6 @@ find_package(OpenCV QUIET) if(OpenCV_FOUND) otr_module(cv STATIC) - target_link_libraries(opentrack-cv opencv_core opencv_videoio) - target_include_directories(opentrack-cv SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS}) + target_link_libraries(${self} opencv_core opencv_videoio) + target_include_directories(${self} SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS}) endif() -- cgit v1.2.3