From 3149d97267eac7eecbc799c83d8cda097706857d Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sun, 2 Jun 2019 03:08:39 +0200 Subject: [PATCH] readme: add FreeBSD build instructions --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.2