Skip to content

Commit

Permalink
update to CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliocrp committed May 22, 2024
1 parent 7900b74 commit e8cc578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ endif()
set(requiredlibs)

# Find libraries
find_package(CGAL REQUIRED)
find_package(CGAL REQUIRED COMPONENTS Core)
if(CGAL_FOUND)
set(requiredlibs ${requiredlibs} ${CGAL_3RD_PARTY_LIBRARIES})
set(requiredlibs ${requiredlibs} CGAL::CGAL CGAL::CGAL_Core ${CGAL_3RD_PARTY_LIBRARIES})
else()
message(STATUS "This program requires the CGAL library, and will not be compiled.")
return()
Expand Down

0 comments on commit e8cc578

Please sign in to comment.