Skip to content

Commit

Permalink
vxl: build with gcc13
Browse files Browse the repository at this point in the history
  • Loading branch information
hubutui committed Dec 30, 2024
1 parent e812b67 commit a356edb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion archlinuxcn/vxl/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ depends=(
libtiff.so
zlib
)
makedepends=('cmake')
makedepends=(
cmake
gcc13
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vxl/vxl/archive/v${pkgver}.tar.gz")
sha512sums=('0b33e12557315058e7786c2049af3b01f1208e50660ccbc45f4d9a4dba4eeadfa5e3125380d8781eed2a9abf1d153ffb71c416ed2d196ab4194f5b3722fe6f2b')

Expand All @@ -26,6 +29,8 @@ build() {
-DBUILD_SHARED_LIBS=BOOL:ON \
-DBUILD_TESTING:BOOL=OFF \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_CXX_COMPILER=g++-13 \
-DCMAKE_C_COMPILER=gcc-13 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
-DVXL_BUILD_CONTRIB:BOOL=ON \
Expand Down

0 comments on commit a356edb

Please sign in to comment.