1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Clean up cmake after upgrading cmake_minimum_required to 3.13

This commit is contained in:
FantasqueX
2024-12-07 02:29:20 +08:00
parent 444d4c8360
commit f823143766
12 changed files with 44 additions and 134 deletions
+2 -4
View File
@@ -71,11 +71,9 @@ endforeach()
include("tutorial_code/calib3d/real_time_pose_estimation/CMakeLists.txt" OPTIONAL)
# Standalone samples only
if(OpenCV_FOUND AND NOT CMAKE_VERSION VERSION_LESS "3.1")
if(OpenCV_FOUND)
add_subdirectory("example_cmake")
endif()
if(OpenCV_FOUND AND NOT CMAKE_VERSION VERSION_LESS "3.9"
AND NOT OPENCV_EXAMPLES_SKIP_PARALLEL_BACKEND
)
if(OpenCV_FOUND AND NOT OPENCV_EXAMPLES_SKIP_PARALLEL_BACKEND)
add_subdirectory("tutorial_code/core/parallel_backend")
endif()