diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-18 19:29:30 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-18 19:29:30 +0100 |
commit | b886fde39fc6165d39765816672376f66ff56345 (patch) | |
tree | ed2ff3788b669c01cc729f8a03c40dfe8ad1c813 /tracker-pt | |
parent | 8e04a08869cfec0f0473137e580b8571f793da14 (diff) |
tracker/pt: simplify makefile
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-pt/CMakeLists.txt b/tracker-pt/CMakeLists.txt index a02bdfe0..53d86320 100644 --- a/tracker-pt/CMakeLists.txt +++ b/tracker-pt/CMakeLists.txt @@ -1,10 +1,10 @@ find_package(OpenCV 3.0 QUIET) +set(modules opencv_core opencv_videoio opencv_imgproc) if(OpenCV_FOUND) otr_module(tracker-pt-base STATIC) target_include_directories(opentrack-tracker-pt-base SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS}) + target_link_libraries(opentrack-tracker-pt-base opentrack-cv ${modules}) - set(modules opencv_core opencv_videoio opencv_imgproc) otr_module(tracker-pt SOURCES module.cxx) - target_link_libraries(opentrack-tracker-pt opentrack-cv ${modules}) - target_include_directories(opentrack-tracker-pt SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS}) + target_link_libraries(opentrack-tracker-pt opentrack-tracker-pt-base) endif() |