From: Thomas Debesse Date: Sun, 2 Jun 2019 01:08:39 +0000 (+0200) Subject: readme: add FreeBSD build instructions X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3149d97267eac7eecbc799c83d8cda097706857d;p=xonotic%2Fnetradiant.git readme: add FreeBSD build instructions --- diff --git a/README.md b/README.md index 4b263bbe..4824192d 100644 --- 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