fix: use DCMAKE_C_COMPILER to set c compiler for cmake
This commit is contained in:
parent
c857a45484
commit
411364deaf
2 changed files with 2 additions and 2 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"qbittorrent": "4.4.0beta3",
|
||||
"libtorrent": "2.0.4",
|
||||
"pkgrel": 1
|
||||
"pkgrel": 2
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue