From 6591a698169387ac3cc73b2081ba77f3b3ab2af5 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 10 Dec 2025 19:53:14 +0500 Subject: [PATCH] FindCGAL - keep `CGAL::CGAL` target name --- cmake/FindCGAL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindCGAL.cmake b/cmake/FindCGAL.cmake index 9aff5f14a0..089a1b112f 100644 --- a/cmake/FindCGAL.cmake +++ b/cmake/FindCGAL.cmake @@ -56,5 +56,5 @@ else() message(STATUS "CGAL: found config at '${CGAL_DIR}'.") endif() -target_compile_definitions(CGAL INTERFACE IFOPSH_WITH_CGAL) +target_compile_definitions(CGAL::CGAL INTERFACE IFOPSH_WITH_CGAL) set(SWIG_DEFINES ${SWIG_DEFINES} -DIFOPSH_WITH_CGAL)