Skip to content

Instantly share code, notes, and snippets.

@smathermather
Last active December 7, 2018 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smathermather/14ec21af3e24c966ddae4212cea58826 to your computer and use it in GitHub Desktop.
Save smathermather/14ec21af3e24c966ddae4212cea58826 to your computer and use it in GitHub Desktop.

Make a CGAL subdirectory to place CGAL and the build directory into.

mkdir CGAL
cd CGAL

Clone cgal

git clone https://github.com/CGAL/cgal.git
cd cgal

Checkout the release we want to use (this is currently the latest stable)

git checkout releases/CGAL-4.13
cd ..

Make the build directory

mkdir build
cd build

Now we can configure it all with cmake and then make and install

cmake ../.
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment