mirror of https://github.com/CGAL/cgal
20 lines
479 B
CMake
20 lines
479 B
CMake
# Created by the script cgal_create_cmake_script
|
|
# This is the CMake script for compiling a CGAL application.
|
|
|
|
project (BGL_polyhedron_3_Example)
|
|
|
|
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
|
|
|
find_package(CGAL)
|
|
|
|
if ( CGAL_FOUND )
|
|
|
|
include(${CGAL_USE_FILE})
|
|
include(CreateSingleSourceCGALProgram)
|
|
|
|
create_single_source_cgal_program( distance.cpp )
|
|
create_single_source_cgal_program( kruskal.cpp )
|
|
create_single_source_cgal_program( kruskal_with_stored_id.cpp )
|
|
|
|
endif()
|