From 71965fa7e7b802dab6e08edb64f5e810a55667ab Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Mon, 14 Nov 2016 15:18:11 +0100 Subject: [PATCH] Fix a warning --- CGAL_Core/examples/Core/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CGAL_Core/examples/Core/CMakeLists.txt b/CGAL_Core/examples/Core/CMakeLists.txt index 8caf3466d82..b8b6c154e22 100644 --- a/CGAL_Core/examples/Core/CMakeLists.txt +++ b/CGAL_Core/examples/Core/CMakeLists.txt @@ -13,6 +13,9 @@ endif() # CGAL and its components find_package( CGAL QUIET COMPONENTS Core ) +# include helper file +include( ${CGAL_USE_FILE} ) + if ( NOT CGAL_Core_FOUND ) message(STATUS "This project requires the CGAL_Core library, and will not be compiled.") @@ -20,10 +23,6 @@ if ( NOT CGAL_Core_FOUND ) endif() -# include helper file -include( ${CGAL_USE_FILE} ) - - # Boost and its components find_package( Boost )