]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
readme: add FreeBSD build instructions
authorThomas Debesse <dev@illwieckz.net>
Sun, 2 Jun 2019 01:08:39 +0000 (03:08 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sun, 2 Jun 2019 01:18:20 +0000 (03:18 +0200)
README.md

index 4b263bbef6bce49e19e7a7c134b06f9d809b1651..4824192d708e54f41aa86f97ee254616ec20e0c6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -100,6 +100,12 @@ On macOS you have to add this to the first cmake call:
 -DCMAKE_C_COMPILER=/usr/local/bin/gcc-9 -DCMAKE_CXX_COMPILER=/usr/local/bin/g++-9 -DOPENGL_INCLUDE_DIR=/opt/X11/include -DOPENGL_gl_LIBRARY=/opt/X11/lib/libGL.dylib
 ```
 
+On FreeBSD you have to add this to the first cmake call:
+
+```
+cmake -G "Unix Makefiles" -DCMAKE_C_COMPILER=/usr/local/bin/gcc8 -DCMAKE_CXX_COMPILER=/usr/local/bin/g++8
+```
+
 ## Build and installation details
 
 ### Compilation details