Skip to content

Commit

Permalink
Fixed Windows build documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Dec 6, 2023
1 parent 4707647 commit 3e78b49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If you need to target 32-bit platform you'll need to to replace `x64-windows` wi
----
cmake -B build -G "Visual Studio 16 2019" -A x64 -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%\scripts\buildsystems\vcpkg.cmake \
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=off -DCRYPTO_BACKEND="botan" .
cmake --build . --config Release
cmake --install .
cmake --build build --config Release
cmake --install build
----
--
Replace CRYPTO_BACKEND parameter to "openssl" if you target this backend.
Expand Down Expand Up @@ -238,8 +238,8 @@ In such case use OPENSSL_ROOT_DIR.
----
cmake -B build -G "Visual Studio 16 2019" -A x64 -DOPENSSL_ROOT_DIR=<openssl root> -DCMAKE_TARGET_PREFIX=<target prefix> \
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=off -DCRYPTO_BACKEND="botan" .
cmake --build . --config Release
cmake --install .
cmake --build build --config Release
cmake --install build
----
--
Replace CRYPTO_BACKEND parameter to "openssl" if you target this backend, use OPENSSL_ROOT_DIR and CMAKE_TARGET_PREFIX optionally as explained above

0 comments on commit 3e78b49

Please sign in to comment.