Fixes two errors when building with the options WITH_CUDA=ON and BUILD_CUDA_STUBS=ON on a machine without CUDA.
In the cudaarithm module, make sure cuda_runtime.h only gets included when CUDA is installed.
In the stitching module, don't assume that cuda is present just because cudaarithm and cudawarping are present (as is the case when building with the above options).
original commit: 22ee5c0c4d
pull/2727/head^2
parent
10bfd2dc51
commit
5b640a53f1
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue