mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
cuda: suppress CMP0146 Warning
This commit is contained in:
parent
0323761ea6
commit
08d457edcf
@ -74,6 +74,10 @@ if(POLICY CMP0077)
|
|||||||
cmake_policy(SET CMP0077 NEW) # CMake 3.13+: option() honors normal variables.
|
cmake_policy(SET CMP0077 NEW) # CMake 3.13+: option() honors normal variables.
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(POLICY CMP0146)
|
||||||
|
cmake_policy(SET CMP0146 OLD) # CMake 3.27+: use CMake FindCUDA if available.
|
||||||
|
endif()
|
||||||
|
|
||||||
#
|
#
|
||||||
# Configure OpenCV CMake hooks
|
# Configure OpenCV CMake hooks
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user