From aa35b3bc018c19b711f3060ff9faa4d24110a777 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sat, 1 Jun 2019 16:25:11 +0200 Subject: [PATCH] readme: update installation instructions and telle people to rerun cmake before installing --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b294bfef..9cbbde5c 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ Run `./gamepacks-manager -h` to know about available licenses and other availabl options: * `FHS_INSTALL=ON` - Install files following the Filesystem Hierarchy Standard (bin, lib, share, etc.), also setup XDG mime and application support on POSIX systems (default: `OFF`, install like in 1999) + Available for POSIX systems: install files following the Filesystem Hierarchy Standard (bin, lib, share, etc.), also setup XDG mime and application support on Linux-like systems (default: `OFF`, install like in 1999) * `CMAKE_INSTALL_PREFIX=/usr` Install system-wide on Posix systems, always set `FHS_INSTALL` to `ON` when doing this (default: install in `install/` directory within source tree) @@ -155,6 +155,12 @@ target: * `install` Install files +Note that because of both the way NetRadiant works and the way bundled library loading works CMake has to do some globbing to detect some of the produced/copied files it has to install. So you have to run cmake again before installing: + +``` +cmake -H. -Bbuild && cmake --build build -- install +``` + ## Note about Crunch The crnlib used to decode `.crn` files is the one from [Dæmon](http://github.com/DaemonEngine/Daemon) which is the one by [Unity](https://github.com/Unity-Technologies/crunch/tree/unity) made cross-platform and slightly improved. Since Unity brokes compatibility with [BinomialLLC's legacy tree](https://github.com/BinomialLLC/crunch) it's required to use either the `crunch` tool from Dæmon or the one from Unity to compress textures that have to be read by radiant or q3map2. -- 2.39.2