Preliminary Checks
Description
find_package(CUDA) has been deprecated since CMake version 3.10 and disallowed by policy CMP0146 since CMake 3.27.
Steps to Reproduce
- Add find_package(ZED REQUIRED) to project CMakeLists
2.Load CMake project using CMake version > 3.10
Expected Result
CMake should successfully load the ZED package
Actual Result
CMake outputs error message
CMake Error at /usr//lib/cmake/CUDA/FindCUDA.cmake:567 (message):
The FindCUDA module has been removed by policy CMP0146.
ZED Camera model
ZED
Environment
OS: Ubuntu 24.04
Platform: x86
Anything else?
No response
Preliminary Checks
Description
find_package(CUDA) has been deprecated since CMake version 3.10 and disallowed by policy CMP0146 since CMake 3.27.
Steps to Reproduce
2.Load CMake project using CMake version > 3.10
Expected Result
CMake should successfully load the ZED package
Actual Result
CMake outputs error message
CMake Error at /usr//lib/cmake/CUDA/FindCUDA.cmake:567 (message):
The FindCUDA module has been removed by policy CMP0146.
ZED Camera model
ZED
Environment
Anything else?
No response