Skip to content

Commit

Permalink
build(fedora): fix version variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Oct 6, 2024
1 parent 15b91a1 commit ecd5519
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packaging/linux/fedora/sunshine.spec
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ if [ -n "$cuda_version" ] && [[ " ${cuda_supported_architectures[@]} " =~ " ${ar
cmake_args+=("-DCMAKE_CUDA_COMPILER:PATH=%{_builddir}/cuda/bin/nvcc")
fi

# setup the version
export BRANCH=%{branch}
export BUILD_VERSION=%{build_version}
export COMMIT=%{commit}

# cmake
cd %{_builddir}/Sunshine
echo "cmake args:"
Expand Down

0 comments on commit ecd5519

Please sign in to comment.