Skip to content

Commit

Permalink
don't build nvidia modules if cuda is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jun 12, 2023
1 parent ff7e951 commit b5918aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/MSWindows/MINGW_BUILD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ if [ "${CLIENT_ONLY}" == "1" ]; then
BUILD_OPTIONS="${BUILD_OPTIONS} --without-enc_x264 --without-nvenc --without-nvfbc"
shift
fi
if [ "${DO_CUDA}" == "0" ]; then
BUILD_OPTIONS="${BUILD_OPTIONS} --without-nvjpeg_encoder --without-nvjpeg_decoder --without-nvenc --without-nvfbc"
fi

################################################################################
# get paths and compilation options:
Expand Down

0 comments on commit b5918aa

Please sign in to comment.