From 6c6bc12295ec6e639c1adfc1c0ac8622bd32da72 Mon Sep 17 00:00:00 2001 From: enm10k Date: Wed, 17 Jan 2024 15:01:25 +0900 Subject: [PATCH] =?UTF-8?q?CUDA=20=E3=81=AE=E3=82=B3=E3=83=B3=E3=83=91?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=83=BB=E3=82=AA=E3=83=97=E3=82=B7=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=81=A7=20=5Finstall/ubuntu-20.04=5Fx86=5F64/release?= =?UTF-8?q?/llvm/clang/lib/clang/18/include/cuda=5Fwrappers=20+=CE=B1=20?= =?UTF-8?q?=E3=82=92=E6=8C=87=E5=AE=9A=E3=81=97=E3=81=A6=E3=81=BF=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2710f872..ddfea2ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -481,7 +481,7 @@ elseif (SORA_TARGET_OS STREQUAL "ubuntu") third_party/NvCodec/NvCodec/NvDecoder/NvDecoder.cpp third_party/NvCodec/NvCodec/NvEncoder/NvEncoderCuda.cpp PROPERTIES - COMPILE_OPTIONS "-xcuda;--cuda-gpu-arch=sm_35;-std=gnu++17" + COMPILE_OPTIONS "-xcuda;--cuda-gpu-arch=sm_35;-std=gnu++17;-I_install/ubuntu-20.04_x86_64/release/llvm/clang/lib/clang/18/include/cuda_wrappers/bits;-I_install/ubuntu-20.04_x86_64/release/llvm/clang/lib/clang/18/include/cuda_wrappers" ) # CUDA を要求したくないので libsora.a に含める