Skip to content

Commit

Permalink
Modify slight the CMake so that it compiles with CGAL 6.0 ❤️
Browse files Browse the repository at this point in the history
now compiles on 5.6 + 6.0 and all unit tests pass
  • Loading branch information
hugoledoux committed Oct 2, 2024
1 parent e519224 commit e29456a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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" )
Expand All @@ -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})
Expand Down

0 comments on commit e29456a

Please sign in to comment.