From 58ea9e4b3573d0d493329a5062cfe893fa7e2f46 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Tue, 22 Oct 2024 00:00:00 +0000 Subject: [PATCH] feat(cmake): removed CMake policy CMP0146 for compatibility Signed-off-by: k4yt3x --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 66059aa..55771a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,7 +115,6 @@ else() # OpenCV if (USE_SYSTEM_OPENCV) - cmake_policy(SET CMP0146 OLD) find_package(OpenCV REQUIRED) list(APPEND ALL_INCLUDE_DIRS ${OpenCV_INCLUDE_DIRS}/opencv2) list(APPEND ALL_LIBRARIES opencv_core opencv_videoio)