mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
fix compilation under win32 with gpu
This commit is contained in:
parent
d8488e778c
commit
f42a449df9
@ -41,7 +41,7 @@ if (HAVE_CUDA)
|
||||
file(GLOB_RECURSE ncv_hdr1 "src/nvidia/*.hpp")
|
||||
file(GLOB_RECURSE ncv_hdr2 "src/nvidia/*.h")
|
||||
|
||||
if (NOT MSVS)
|
||||
if (NOT MSVC)
|
||||
file(GLOB vvv "src/nvidia/*.cu")
|
||||
list(GET vvv 0 vv)
|
||||
list(REMOVE_ITEM ncv_cuda ${vv})
|
||||
|
Loading…
Reference in New Issue
Block a user