Commit 956a94d8 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Tell cmake to build Release builds. Package correct Windows lib.

parent ecc991b8
...@@ -64,11 +64,11 @@ pushd "$top/nghttp2" ...@@ -64,11 +64,11 @@ pushd "$top/nghttp2"
-DCMAKE_CXX_FLAGS:STRING="$LL_BUILD_RELEASE" \ -DCMAKE_CXX_FLAGS:STRING="$LL_BUILD_RELEASE" \
-DCMAKE_INSTALL_PREFIX="$(cygpath -m "$stage")" -DCMAKE_INSTALL_PREFIX="$(cygpath -m "$stage")"
cmake --build . cmake --build . --config Release
# Stage archives # Stage archives
mkdir -p "${stage}/lib/release" mkdir -p "${stage}/lib/release"
mv "$top/nghttp2/lib/nghttp2.lib" "${stage}"/lib/release/ mv "$top/nghttp2/lib/Release/nghttp2.lib" "${stage}"/lib/release/
;; ;;
darwin*) darwin*)
...@@ -83,7 +83,7 @@ pushd "$top/nghttp2" ...@@ -83,7 +83,7 @@ pushd "$top/nghttp2"
-DCMAKE_CXX_FLAGS:STRING="$opts" \ -DCMAKE_CXX_FLAGS:STRING="$opts" \
-DCMAKE_INSTALL_PREFIX="$stage" -DCMAKE_INSTALL_PREFIX="$stage"
cmake --build . cmake --build . --config Release
mkdir -p "$stage/lib/release" mkdir -p "$stage/lib/release"
mv "$top/nghttp2/lib"/libnghttp2*.dylib "$stage/lib/release/" mv "$top/nghttp2/lib"/libnghttp2*.dylib "$stage/lib/release/"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment