Skip to content

Commit 13849c7

Browse files
committed
CI: build the bundled libssh2 with the configured build type
1 parent 6774d77 commit 13849c7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎build.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,15 @@ if [ -n "$LIBSSH2_VERSION" ]; then
164164
-DCMAKE_INSTALL_PREFIX=$PREFIX \
165165
-DBUILD_SHARED_LIBS=ON \
166166
-DBUILD_EXAMPLES=OFF \
167+
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
167168
-DCMAKE_OSX_ARCHITECTURES="$ARCH" \
168169
-DBUILD_TESTING=OFF
169170
else
170171
cmake . \
171172
-DCMAKE_INSTALL_PREFIX=$PREFIX \
172173
-DBUILD_SHARED_LIBS=ON \
173174
-DBUILD_EXAMPLES=OFF \
175+
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
174176
-DBUILD_TESTING=OFF
175177
fi
176178
cmake --build . --target install

0 commit comments

Comments
 (0)