Skip to content

Commit

Permalink
Simplified build instructions for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu authored Nov 4, 2023
1 parent 81f7656 commit 551bec5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,9 @@ To build Librum on windows, run the following commands in the Powershell:
```
4. Run cmake.
```sh
cmake -DBUILD_TESTS=Off -DCMAKE_PREFIX_PATH=<Drive>\\Qt\\<version>\\msvc2019_64 ..
```
`CMAKE_PREFIX_PATH` needs to be set to the Qt install path, for example:
```sh
cmake -DBUILD_TESTS=Off -DCMAKE_PREFIX_PATH=C:\\Qt\\6.5.1\\msvc2019_64 ..
cmake -DBUILD_TESTS=Off -DCMAKE_PREFIX_PATH=<path/to/qt> ..
```
Set `CMAKE_PREFIX_PATH` to your Qt installation path. Installing Qt via the online installer usually installs it to `<Drive>\\Qt\\<version>\\msvc2019_64`
6. Build the project
```sh
cmake --build . --config Release
Expand Down

0 comments on commit 551bec5

Please sign in to comment.