Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Jan 18, 2024
1 parent b1e76b2 commit 0fd3b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 0fd3b9a

Please sign in to comment.