diff options
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tracker-pt/module/module.hpp | 6 |
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 |