Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ exec_program(uname ARGS -p OUTPUT_VARIABLE CMAKE_SYSTEM_NAME2)
if ( CMAKE_SYSTEM_NAME2 MATCHES "aarch64" ) # Jetson TX1
SET(OCV_VERSION "2.4")
SET(CUDA_VERSION "8.0")
SET(CUDA_USE_STATIC_CUDA_RUNTIME OFF)

unset(CUDA_USE_STATIC_CUDA_RUNTIME CACHE)
option(CUDA_USE_STATIC_CUDA_RUNTIME OFF)
message ("CUDA_USE_STATIC_CUDA_RUNTIME : ${CUDA_USE_STATIC_CUDA_RUNTIME}")
##to prevent from opencv_dep_cudart dependencies error...
## cmake with -DCUDA_USE_STATIC_CUDA_RUNTIME=false can also be called.
else() # Ubuntu Desktop
SET(OCV_VERSION "3.1")
SET(CUDA_VERSION "8.0")
Expand Down