diff --git a/run.py b/run.py index 2ab7aa6d..32b608ce 100644 --- a/run.py +++ b/run.py @@ -1713,7 +1713,7 @@ def main(): cmake_args.append('-DUSE_NVCODEC_ENCODER=ON') if platform.target.os == 'windows': cmake_args.append(f"-DCUDA_TOOLKIT_ROOT_DIR={cmake_path(os.path.join(install_dir, 'cuda', 'nvcc'))}") - cmake_args.append(f"-DCUDA_TOOLKIT_INCLUDE={cmake_path(os.path.join(install_dir, 'cuda', 'nvcc', 'crt'))}") + cmake_args.append(f"-DCUDA_TOOLKIT_INCLUDE={cmake_path(os.path.join(install_dir, 'cuda', 'nvcc', 'include', 'crt'))}") if platform.target.os in ('windows', 'ubuntu') and platform.target.arch == 'x86_64': cmake_args.append('-DUSE_VPL_ENCODER=ON')