projects
/
platform
/
upstream
/
opencv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
[platform/upstream/opencv.git]
/
cmake
/
OpenCVDetectCUDA.cmake
diff --git
a/cmake/OpenCVDetectCUDA.cmake
b/cmake/OpenCVDetectCUDA.cmake
index
375757f
..
3bdb6fa
100644
(file)
--- a/
cmake/OpenCVDetectCUDA.cmake
+++ b/
cmake/OpenCVDetectCUDA.cmake
@@
-233,7
+233,7
@@
if(CUDA_FOUND)
endif()
if(UNIX OR APPLE)
- set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} -Xcompiler -fPIC)
+ set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} -Xcompiler -fPIC
--std=c++11
)
endif()
if(APPLE)
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} -Xcompiler -fno-finite-math-only)