Successfully compiled and ran using Fedora 38
Built from main branch, commit: b6659d1188f315ccea58315bb7c7f92cbd7f6fed
not 100% sure but it builds successfully with the following.
sudo dnf install qt5-qtbase-devel qt5-qtsvg-devel libXi-devel mesa-libglapi \
mesa-libGL-devel mesa-libGLU-devel freeglut-devel glew-devel libXrandr-devel \
glm-devel libXxf86vm-devel freetype-devel freeimage-devel tinyxml2-devel pandoc \
cmake p7zip ninja-build
git clone https://github.com/TrenchBroom/TrenchBroom
git submodule update --init --recursive
make a build directory and cd into it:
mkdir -p TrenchBroom/build
cd TrenchBroom/build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH="cmake/packages"
cmake --build . --target TrenchBroom
The binary will be built as TrenchBroom/build/app/trenchbroom