better cuda configuration
@@ -165,10 +165,10 @@ ENDIF()
IF (CUDA_REQUIRED)
IF(HOST_OS_LINUX)
LDFLAGS("-L${CUDA_ROOT}/lib64/stubs")
+ EXTRALIBS(-lcuda)
ELSEIF(HOST_OS_DARWIN)
LDFLAGS("-F${CUDA_ROOT}/lib/stubs -framework CUDA")
ENDIF()
- EXTRALIBS(-lcuda)
ENDIF()
IF (HOST_OS_WINDOWS)
