From dff3748d7e415ef86b9075cf288dca0ea19006f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Thu, 4 Jun 2026 18:04:59 +0200 Subject: [PATCH] Clean up: Ipe 7 is required --- CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt b/CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt index 675c4fca879..85760d6d446 100644 --- a/CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt +++ b/CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt @@ -92,23 +92,20 @@ if(IPE_FOUND AND IPE_VERSION) ${IPE_LIBRARIES}) if(IPELET_INSTALL_DIR) install(TARGETS CGAL_${IPELET} DESTINATION ${IPELET_INSTALL_DIR}) - install(FILES ./lua/libCGAL_${IPELET}.lua DESTINATION ${IPELET_INSTALL_DIR}) #only for ipe 7 + install(FILES ./lua/libCGAL_${IPELET}.lua DESTINATION ${IPELET_INSTALL_DIR}) endif () cgal_add_compilation_test(CGAL_${IPELET}) endforeach(IPELET) target_link_libraries(CGAL_cone_spanners PRIVATE CGAL::CGAL CGAL::CGAL_Core CGAL::Eigen3_support) + #example in doc not installed add_library(simple_triangulation MODULE simple_triangulation.cpp) + target_include_directories(simple_triangulation BEFORE PRIVATE ${IPE_INCLUDE_DIR}) add_to_cached_list(CGAL_EXECUTABLE_TARGETS simple_triangulation) target_link_libraries(simple_triangulation CGAL::CGAL CGAL::Eigen3_support ${IPE_LIBRARIES}) - target_include_directories(simple_triangulation BEFORE PRIVATE ${IPE_INCLUDE_DIR}) - if (WITH_IPE_7) - target_compile_definitions(simple_triangulation PRIVATE CGAL_USE_IPE_7) - endif() cgal_add_compilation_test(simple_triangulation) - else() message("NOTICE: This project requires the Ipe include files and library, and will not be compiled.") endif()