We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b23f277 commit 1a5de01Copy full SHA for 1a5de01
pkg/apk/APKBUILD
@@ -41,12 +41,17 @@ build() {
41
git clone https://github.com/microsoft/vcpkg.git
42
mv vcpkg $ROOT_DIR/
43
export VCPKG_FORCE_SYSTEM_BINARIES=1
44
- set -e
+ set +e
45
cmake -B build -DINTEGRATE_VCPKG=ON -DCMAKE_BUILD_TYPE=Release \
46
-DCMAKE_MAKE_PROGRAM=make \
47
-DCMAKE_INSTALL_PREFIX="$pkgdir" \
48
-DBUILD_TESTS=OFF -DBUILD_DYNAMIC_LIB=ON -DBUILD_STATIC_LIB=ON \
49
$ROOT_DIR
50
+ if [[ $? -ne 0 ]]; then
51
+ cat $ROOT_DIR/vcpkg/buildtrees/detect_compiler/*.log
52
+ exit 1
53
+ fi
54
+ set -e
55
cmake --build build -j8
56
}
57
0 commit comments