From e29456a2825876c79b111c9c0f96813516e998d1 Mon Sep 17 00:00:00 2001 From: Hugo Ledoux Date: Wed, 2 Oct 2024 16:46:52 +0200 Subject: [PATCH] =?UTF-8?q?Modify=20slight=20the=20CMake=20so=20that=20it?= =?UTF-8?q?=20compiles=20with=20CGAL=206.0=20=E2=9D=A4=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit now compiles on 5.6 + 6.0 and all unit tests pass --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67c6741..a148df2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required (VERSION 3.16) project( val3dity ) -add_definitions(-std=c++14) +add_definitions(-std=c++17) set( CMAKE_BUILD_TYPE "Release") set( CMAKE_CXX_FLAGS "-O2" ) @@ -25,7 +25,6 @@ endif(MSVC) # CGAL find_package( CGAL QUIET COMPONENTS ) if ( CGAL_FOUND ) - include( ${CGAL_USE_FILE} ) message(STATUS "CGAL found") message(STATUS ${CGAL_LIBRARIES}) message(STATUS ${CGAL_3RD_PARTY_LIBRARIES})