Skip to content

Commit

Permalink
#3693 fixup 23b2c55 for builds without nvidia bits
Browse files Browse the repository at this point in the history
they still need the path to copy the placeholder file
  • Loading branch information
totaam committed Nov 28, 2022
1 parent 67446ab commit d4ff2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2045,8 +2045,8 @@ def add_cython_ext(*_args, **_kwargs):

nvidia_ENABLED = nvenc_ENABLED or nvfbc_ENABLED or nvjpeg_encoder_ENABLED or nvjpeg_decoder_ENABLED
toggle_packages(nvidia_ENABLED, "xpra.codecs.nvidia")
CUDA_BIN = f"{share_xpra}/cuda"
if nvidia_ENABLED:
CUDA_BIN = f"{share_xpra}/cuda"
#find nvcc:
from xpra.util import sorted_nicely # pylint: disable=import-outside-toplevel
path_options = os.environ.get("PATH", "").split(os.path.pathsep)
Expand Down

0 comments on commit d4ff2b0

Please sign in to comment.