mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Minor change to avoid errors from some versions of cmake.
This commit is contained in:
parent
48c68f218e
commit
e44da57705
@ -10,6 +10,7 @@ add_definitions(-DDLIB_USE_CUDA)
|
||||
|
||||
include(find_cudnn.txt)
|
||||
|
||||
include_directories(${cudnn_include})
|
||||
|
||||
cuda_add_library(cudnn_test STATIC ../../dnn/cudnn_dlibapi.cpp ${cudnn} )
|
||||
if (cudnn_include AND cudnn)
|
||||
include_directories(${cudnn_include})
|
||||
cuda_add_library(cudnn_test STATIC ../../dnn/cudnn_dlibapi.cpp ${cudnn} )
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user