If cgal installed on the system, the example/Envelope_2 (containing the CMakeLists.txt file) can be run as follows:
cmake . make ./convex_hull
Or to build outside the source:
mkdir build cd build cmake .. make mv ../ch_points.dat . ./convex_hull
This is OS X with cgal installed with brew, which is installed in /usr/local/... MacPorts may encounter a problem because it installs third-party packages in /opt .
According to How do I tell CMake to look for libraries installed by MacPorts? adding the following to the CMakeLists.txt file (before find_package ) may help
list(APPEND CMAKE_LIBRARY_PATH /opt/local/lib) list(APPEND CMAKE_INCLUDE_PATH /opt/local/include)
tmlen source share