# IT4Innovations
# LK 2023

name = 'CGAL'
version = '5.2.4'

homepage = 'https://www.cgal.org/'
description = """The goal of the CGAL Open Source Project is to provide easy access to efficient 
 and reliable geometric algorithms in the form of a C++ library."""

toolchain = {'name': 'iimpi', 'version': '2022b'}
toolchainopts = {'strict': True}

source_urls = ['https://github.com/CGAL/cgal/releases/download/v%(version)s/']
sources = [SOURCE_TAR_XZ]
checksums = ['7f792c59d067e41a073bcee5d615f4276f9ccd2b5e7d359093cc36149fda14c3']

builddependencies = [
    ('Eigen', '3.4.0'),
    ('Boost', '1.79.0'),
    ('CMake', '3.24.3'),
    ('GMP', '6.2.1'),
    ('MPFR', '4.2.0'),
]

configopts = "-DCGAL_HEADER_ONLY=OFF "
configopts += "-DWITH_ZLIB=ON -DWITH_MPFR=ON -DWITH_Eigen3=ON "
configopts += "-DWITH_GMPXX=ON -DWITH_LAPACK=ON -DWITH_BLAS=ON "

moduleclass = 'numlib'
