* update to run-vcpkg@v6
* bump to cmake 3.18
* use newer cuda syntax, fail if cuda enabled but not found
* update win build script
* improve travis with non-cuda-enabled builds
* improve windows building process
* CMake: Fail generation if CUDA was requested but not found
..instead of resorting to CPU build silently.
This makes builds predictable and
removes the confusion of `ENABLE_CUDA` option being merely a suggestion.
Signed-off-by: Ievgen Popovych <ievgenp@seetrue.ai>
* CMake: Be more precise with ZED SDK messages
CMake generation with `ENABLE_CUDA=OFF` and `ENABLE_ZED_CAMERA=OFF`
would spit out "ZED SDK not enabled, since it requires CUDA" messages
even though ZED SDK was explicitly disabled.
Fix this by being a bit more precise with messages.
Signed-off-by: Ievgen Popovych <ievgenp@seetrue.ai>
* CMake: Honor CUDNN_ENABLE option
Setting CUDNN_ENABLE to OFF would not disable CUDNN support if
CUDNN libraries are available.
Fix this behavior by only looking for CUDNN if it was requested (CUDNN_ENABLE)
and predicate actual settings on CUDNN_FOUND.
Signed-off-by: Ievgen Popovych <ievgenp@seetrue.ai>
* github: actions: Explicitly set CUDA state in CI