mirror of https://github.com/CGAL/cgal
22 lines
472 B
CMake
22 lines
472 B
CMake
# Created by the script cgal_create_cmake_script
|
|
# This is the CMake script for compiling a CGAL application.
|
|
|
|
project (Polynomial_kernel_Example)
|
|
|
|
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
|
|
|
if ( $ENV{CGAL_DIR} )
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "$ENV{CGAL_DIR}/cmake/modules" )
|
|
endif()
|
|
|
|
find_package(CGAL)
|
|
|
|
if ( CGAL_FOUND )
|
|
|
|
include(UseCGAL)
|
|
include(CreateSingleSourceCGALProgram)
|
|
|
|
create_single_source_cgal_program( solve_polynomial.cpp )
|
|
|
|
endif()
|