diff --git a/Building-KeePassXC.md b/Building-KeePassXC.md index 23313c9..06897b9 100644 --- a/Building-KeePassXC.md +++ b/Building-KeePassXC.md @@ -106,7 +106,6 @@ Download and unpack the source code as described in the [Linux](#linux) section. mkdir build cd build cmake \ - -G "MSYS Makefiles \ -DWITH_XC_ALL=ON \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake .. @@ -114,6 +113,8 @@ make -j8 package ``` If you build with MSVC, make sure that `-DCMAKE_TOOLCHAIN_FILE` points to the correct path of your vcpkg installation. If instead, you build with Msys2, omit it altogether. +If you build with MSys2, add `-G "MSYS Makefiles`. + ## 3. Running tests If you compiled KeePassXC with the CMake flags `-DWITH_TESTS=ON` and `-DWITH_GUI_TESTS=ON`, you can run our unit test suite with: