From 8ea0db1b86fdd3e7f2884305c951ec8f4fa508a7 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 20 May 2019 11:32:04 +0200 Subject: [PATCH] Switch to use _cuda_prefix --- opencv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencv.spec b/opencv.spec index 7b8b872..058561a 100644 --- a/opencv.spec +++ b/opencv.spec @@ -279,7 +279,7 @@ pushd build %{!?with_ffmpeg: -DWITH_FFMPEG=OFF } \ %{?with_cuda: \ -DWITH_CUDA=ON \ - -DCUDA_TOOLKIT_ROOT_DIR=%{?_cuda_topdir} \ + -DCUDA_TOOLKIT_ROOT_DIR=%{?_cuda_prefix} \ -DCUDA_VERBOSE_BUILD=ON \ -DCUDA_PROPAGATE_HOST_FLAGS=OFF \ } \