CMakeLists.txt 318 字节
Newer Older
B
BohaoWu 已提交
1 2 3 4 5 6 7 8 9 10 11 12
if(NOT WITH_GPU)
    message("GPU preprocess will not be compiled.")
    return()
endif()

message(STATUS "CUDA detected: " ${CUDA_VERSION})
if (${CUDA_VERSION} LESS 10.0)
    message("CUDA version should be 10.0.")
    return()
elseif (${CUDA_VERSION} LESS 10.1) # CUDA 10.0
   add_subdirectory(hwvideoframe)
endif()