1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #25585 from FantasqueX:add-policy-0148

set policy 0148 explicitly
This commit is contained in:
Alexander Smorkalov
2024-05-16 18:43:36 +03:00
committed by GitHub
+4
View File
@@ -84,6 +84,10 @@ if(POLICY CMP0146)
cmake_policy(SET CMP0146 OLD) # CMake 3.27+: use CMake FindCUDA if available.
endif()
if(POLICY CMP0148)
cmake_policy(SET CMP0148 OLD) # CMake 3.27+: use CMake FindPythonInterp and FindPythonLib if available.
endif()
#
# Configure OpenCV CMake hooks
#