aboutsummaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorglowiak <52356948+glowiak@users.noreply.github.com>2022-02-06 12:06:08 +0100
committerGitHub <noreply@github.com>2022-02-06 12:06:08 +0100
commitf25152e068e301b31dc35cf38c4a72d96a5c7698 (patch)
tree6ffde48ba1b1373b075198bcf47452fb44903b8d /BUILD.md
parentdd8946b15a833e72b5b6f0c8160ddf1f2b3867a6 (diff)
downloadPrismLauncher-f25152e068e301b31dc35cf38c4a72d96a5c7698.tar.gz
PrismLauncher-f25152e068e301b31dc35cf38c4a72d96a5c7698.tar.bz2
PrismLauncher-f25152e068e301b31dc35cf38c4a72d96a5c7698.zip
Update BUILD.md
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/BUILD.md b/BUILD.md
index 2f4f34fb..f21b6e7a 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -55,7 +55,7 @@ This is the preferred method for installation, and is suitable for packages.
# configure everything
cmake -S . -B build \
  -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX="/usr" \ # Use "/usr" for packages, otherwise, leave it at the default "/usr/local".
+ -DCMAKE_INSTALL_PREFIX="/usr" \ # Replace /usr with /usr/local when building on FreeBSD
-DLauncher_LAYOUT=lin-system
cd build
make -j$(nproc) install # Optionally specify DESTDIR for packages (i.e. DESTDIR=${pkgdir})
@@ -73,7 +73,7 @@ makedeb -s
The deb will be located in the directory the repo was cloned in.
-### Building a .rpm
+### Building an .rpm
Build dependencies are automatically installed using `dnf`, but you do need the `rpmdevtools` package (on Fedora)
in order to fetch sources and setup your tree.
@@ -310,8 +310,8 @@ This is the preferred method for installation, and is suitable for packages.
# configure everything
cmake -S . -B build \
  -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX="/usr" \ # Use "/usr" for packages, otherwise, leave it at the default "/usr/local".
- -DLauncher_LAYOUT=lin-system -DCMAKE_PREFIX_PATH=/usr/local/lib/qt5/cmake
+ -DCMAKE_INSTALL_PREFIX="/usr/local" \ # /usr/local is default in OpenBSD and FreeBSD
+ -DLauncher_LAYOUT=lin-system -DCMAKE_PREFIX_PATH=/usr/local/lib/qt5/cmake # use linux layout and point to qt5 libs
cd build
make -j$(nproc) install # Optionally specify DESTDIR for packages (i.e. DESTDIR=${pkgdir})
```