mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 04:12:52 +08:00
Merge pull request #25585 from FantasqueX:add-policy-0148
set policy 0148 explicitly
This commit is contained in:
commit
41f08988b4
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user