summaryrefslogtreecommitdiffhomepage
path: root/cv/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cv/CMakeLists.txt')
-rw-r--r--cv/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/cv/CMakeLists.txt b/cv/CMakeLists.txt
index 6c693acb..d5f33d44 100644
--- a/cv/CMakeLists.txt
+++ b/cv/CMakeLists.txt
@@ -5,10 +5,9 @@ if(OpenCV_FOUND)
SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/ocv-check.cxx"
CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${OpenCV_INCLUDE_DIRS}"
"-DCXX_STANDARD=17" "-DCXX_STANDARD_REQUIRED=1"
- COMPILE_DEFINITIONS "-D_HAS_EXCEPTIONS=0"
OUTPUT_VARIABLE krap)
otr_module(cv STATIC)
- target_link_libraries(${self} opencv_videoio opencv_core opentrack-video)
+ target_link_libraries(${self} opencv_core opentrack-video)
target_include_directories(${self} SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS})
if(cv_use-ipp)
target_compile_definitions(${self} PUBLIC -DOTR_HAS_CV_IPP)