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 )