summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-easy')
-rw-r--r--tracker-easy/CMakeLists.txt6
-rw-r--r--tracker-easy/tracker-easy.cpp3
2 files changed, 8 insertions, 1 deletions
diff --git a/tracker-easy/CMakeLists.txt b/tracker-easy/CMakeLists.txt
index 2bc773d7..670b9003 100644
--- a/tracker-easy/CMakeLists.txt
+++ b/tracker-easy/CMakeLists.txt
@@ -12,6 +12,12 @@ if(OpenCV_FOUND)
otr_install_lib("opencv_${k}" "${opentrack-hier-pfx}")
endforeach()
+ if(CMAKE_COMPILER_IS_GNUCXX)
+ add_compile_options(-Wno-sign-compare)
+ elseif(MSVC)
+ add_compile_definitions(-wd4018)
+ endif()
+
otr_module(tracker-easy)
target_include_directories(${self} SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
target_link_libraries(${self} opencv_core opencv_imgproc opencv_calib3d opencv_video opencv_highgui opentrack-cv opentrack-video)
diff --git a/tracker-easy/tracker-easy.cpp b/tracker-easy/tracker-easy.cpp
index 23e68397..3f5c449b 100644
--- a/tracker-easy/tracker-easy.cpp
+++ b/tracker-easy/tracker-easy.cpp
@@ -670,7 +670,8 @@ namespace EasyTracker
void Tracker::set_fov(int value)
{
- QMutexLocker l(&camera_mtx);
+ (void)value;
+ //QMutexLocker l(&camera_mtx);
}