summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-28 17:26:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-28 21:27:35 +0200
commit0c27d726a900b901e8bffafe993a3d3e36bf27f3 (patch)
tree960bcda73075a62826300d7805f6db1b303ac540 /tracker-pt
parentc80dd2e156e20f028cf4631fd7874a89c3568bab (diff)
random cleanups
Diffstat (limited to 'tracker-pt')
-rw-r--r--tracker-pt/CMakeLists.txt4
-rw-r--r--tracker-pt/module/module.hpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/tracker-pt/CMakeLists.txt b/tracker-pt/CMakeLists.txt
index c9809dcf..326f345c 100644
--- a/tracker-pt/CMakeLists.txt
+++ b/tracker-pt/CMakeLists.txt
@@ -1,9 +1,7 @@
-set(modules opencv_core opencv_videoio opencv_imgproc)
find_package(OpenCV QUIET)
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})
+ target_link_libraries(opentrack-tracker-pt-base opentrack-cv opencv_core opencv_imgproc opencv_videoio)
endif()
add_subdirectory(module)
-
diff --git a/tracker-pt/module/module.hpp b/tracker-pt/module/module.hpp
index 4a2cb919..3afe8bc9 100644
--- a/tracker-pt/module/module.hpp
+++ b/tracker-pt/module/module.hpp
@@ -1,13 +1,15 @@
#pragma once
#include "api/plugin-api.hpp"
-#include <QtGlobal>
#include <QIcon>
+#include <QString>
+
+#include "compat/linkage-macros.hpp"
namespace pt_module
{
-class Q_DECL_EXPORT metadata_pt : public Metadata
+class OTR_GENERIC_EXPORT metadata_pt : public Metadata
{
Q_OBJECT