From 6ff002b4edd58595056f7ed116e902e4afc48931 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 15 May 2020 00:38:09 +0200 Subject: Use standard cmake args instead of old -H --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 94c37253..0cb3e044 100644 --- a/README.md +++ b/README.md @@ -229,14 +229,14 @@ Make sure to install the `MSVC 2017 64-bit` toolset for at least Qt 5.10 We can now build nheko: ```bash -cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release +cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release cmake --build build ``` To use bundled dependencies you can use hunter, i.e.: ```bash -cmake -H. -Bbuild -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=OFF +cmake -S. -Bbuild -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=OFF cmake --build build --config Release ``` @@ -255,7 +255,7 @@ You might need to pass `-DCMAKE_PREFIX_PATH` to cmake to point it at your qt5 in e.g on macOS ``` -cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(brew --prefix qt5) +cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(brew --prefix qt5) cmake --build build ``` -- cgit 1.4.1