Added missing quotes so that cmake works on windows.

This commit is contained in:
Davis King 2017-04-05 05:47:06 -04:00
parent 1a46b1ba74
commit 85a817da74
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ if (NOT TARGET dlib)
# Find where cuSOLVER is since the FindCUDA cmake package doesn't # Find where cuSOLVER is since the FindCUDA cmake package doesn't
# bother to look for it. # bother to look for it.
get_filename_component(cuda_blas_path ${CUDA_CUBLAS_LIBRARIES} DIRECTORY) get_filename_component(cuda_blas_path "${CUDA_CUBLAS_LIBRARIES}" DIRECTORY)
find_library(cusolver cusolver HINTS ${cuda_blas_path}) find_library(cusolver cusolver HINTS ${cuda_blas_path})
# Also find OpenMP since cuSOLVER needs it. # Also find OpenMP since cuSOLVER needs it.
find_package(OpenMP) find_package(OpenMP)