projects
/
profile
/
ivi
/
opencv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #3103 from vpisarev:core_imgproc_optim_rearrangements
[profile/ivi/opencv.git]
/
cmake
/
OpenCVUtils.cmake
diff --git
a/cmake/OpenCVUtils.cmake
b/cmake/OpenCVUtils.cmake
index
e13c79a
..
96321f9
100644
(file)
--- a/
cmake/OpenCVUtils.cmake
+++ b/
cmake/OpenCVUtils.cmake
@@
-94,7
+94,7
@@
function(ocv_target_include_directories target)
list(APPEND __params "${dir}")
endif()
endforeach()
- if(CMAKE_VERSION VERSION_LESS 2.8.11)
+ if(
HAVE_CUDA OR
CMAKE_VERSION VERSION_LESS 2.8.11)
include_directories(${__params})
else()
if(TARGET ${target})