When I tried to compile Voronoi_Diagram_2 example I am getting this output:
singhg@~/Programming/examples/Voronoi_diagram_2 $ cmake -DCGAL_DIR=/opt/local/lib/cmake/
CMake Error at CMakeLists.txt:20 (include):
include could not find load file:
/opt/local//opt/local/lib/cmake/UseCGAL.cmake
CMake Error at CMakeLists.txt:22 (include):
include could not find load file:
CGAL_CreateSingleSourceCGALProgram
CMake Error at CMakeLists.txt:26 (create_single_source_cgal_program):
Unknown CMake command "create_single_source_cgal_program".
-- Configuring incomplete, errors occurred!
Please help!
/opt/local//opt/local/lib/...
– Paul Rinclude( ${CGAL_USE_FILE} )
And Here is the 22nd line:include( CGAL_CreateSingleSourceCGALProgram )
And Here is the 26th line: ` create_single_source_cgal_program( "vd_2_point_location.cpp" )` – sinnerif ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) include( CGAL_CreateSingleSourceCGALProgram ) include_directories (BEFORE ../../include) create_single_source_cgal_program( "vd_2_point_location.cpp" ) else() message(STATUS "This program requires the CGAL library, and will not be compiled.")
– sinner