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

set policy 0148 explicitly
pull/25603/head
Alexander Smorkalov 10 months ago committed by GitHub
commit 41f08988b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      CMakeLists.txt

@ -84,6 +84,10 @@ if(POLICY CMP0146)
cmake_policy(SET CMP0146 OLD) # CMake 3.27+: use CMake FindCUDA if available. cmake_policy(SET CMP0146 OLD) # CMake 3.27+: use CMake FindCUDA if available.
endif() endif()
if(POLICY CMP0148)
cmake_policy(SET CMP0148 OLD) # CMake 3.27+: use CMake FindPythonInterp and FindPythonLib if available.
endif()
# #
# Configure OpenCV CMake hooks # Configure OpenCV CMake hooks
# #

Loading…
Cancel
Save