From c4dc53733420fcef76bcbebb7fbe960f5969dee1 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 26 Mar 2019 17:36:42 +0100 Subject: [PATCH] Fix Cone_spanners --- Cone_spanners_2/examples/Cone_spanners_2/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cone_spanners_2/examples/Cone_spanners_2/CMakeLists.txt b/Cone_spanners_2/examples/Cone_spanners_2/CMakeLists.txt index 12ba2f77826..ea3f697b6ef 100644 --- a/Cone_spanners_2/examples/Cone_spanners_2/CMakeLists.txt +++ b/Cone_spanners_2/examples/Cone_spanners_2/CMakeLists.txt @@ -7,8 +7,9 @@ project( Cone_spanners_2_Examples ) cmake_minimum_required(VERSION 3.1) find_package(CGAL QUIET COMPONENTS Core) +find_package(LEDA QUIET) -if ( CGAL_FOUND AND CGAL_Core_FOUND) +if ( CGAL_FOUND AND ( CGAL_Core_FOUND OR LEDA_FOUND ) ) include(${CGAL_USE_FILE}) if (MSVC) # Turn off a boost related warning that appears with VC2015