Skip to content

Commit 52608ce

Browse files
committed
Fix Windows build by using Ninja
1 parent 0da697b commit 52608ce

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci/build-app

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ BUILD_CMD="cmake --build . --config $BUILD_TYPE"
1818
echo_title Configuring
1919
mkdir $BUILD_DIR
2020
cd $BUILD_DIR
21-
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR $SRC_DIR
21+
cmake \
22+
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
23+
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \
24+
-G Ninja \
25+
$SRC_DIR
2226

2327
echo_title Updating translations
2428
$BUILD_CMD --target lupdate

ci/lib/common-dependencies.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ install_ecm() {
5757
-DBUILD_MAN_DOCS=OFF \
5858
-DBUILD_QTHELP_DOCS=OFF \
5959
-DBUILD_TESTING=OFF \
60+
-G Ninja \
6061
..
6162
cmake --build .
6263
cmake --build . --target install

0 commit comments

Comments
 (0)