diff options
Diffstat (limited to 'ncnn.spec')
-rw-r--r-- | ncnn.spec | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -13,12 +13,11 @@ # We don't have cuda on openEuler %bcond_without cuda +%global have_cuda 0 -%if %{with cuda} +%if %{without cuda} %ifarch x86_64 aarch64 %global have_cuda 1 -%else -%global have_cuda 0 %endif %endif |