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
commit 41f08988b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
#