fix: use DCMAKE_C_COMPILER to set c compiler for cmake

This commit is contained in:
Mogeko 2021-11-20 10:49:29 +00:00
parent c857a45484
commit 411364deaf
No known key found for this signature in database
GPG key ID: B35485A88F40AD2C
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ ARG LIBTORRENT_GIT=https://github.com/arvidn/libtorrent.git
RUN git clone --depth 1 --recurse-submodules -b v${LIBTORRENT_VERSION} ${LIBTORRENT_GIT} .
RUN cmake . -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_CC_COMPILER=clang \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_INSTALL_PREFIX=/workspace/pkg \
-DCMAKE_CXX_STANDARD=17 \
&& make -j$(nproc) \

View file

@ -1,5 +1,5 @@
{
"qbittorrent": "4.4.0beta3",
"libtorrent": "2.0.4",
"pkgrel": 1
"pkgrel": 2
}