cuda: suppress CMP0146 Warning

pull/24083/head
cudawarped 2 years ago
parent 0323761ea6
commit 08d457edcf
  1. 4
      CMakeLists.txt

@ -74,6 +74,10 @@ if(POLICY CMP0077)
cmake_policy(SET CMP0077 NEW) # CMake 3.13+: option() honors normal variables.
endif()
if(POLICY CMP0146)
cmake_policy(SET CMP0146 OLD) # CMake 3.27+: use CMake FindCUDA if available.
endif()
#
# Configure OpenCV CMake hooks
#

Loading…
Cancel
Save