未验证 提交 67912849 编写于 作者: A Alexander Smorkalov 提交者: GitHub

Merge pull request #24083 from cudawarped:cuda_cmake_cmp0146

`cuda`: suppress CMP0146 warning
......@@ -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
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册