From f924d51c6f85fd74ff1b97a477e962255e6221bc Mon Sep 17 00:00:00 2001 From: Raphael Grimm Date: Fri, 2 Nov 2018 16:04:34 +0100 Subject: [PATCH] Add export package to cmake This will add CGAL to the local cmake package cache and enable find_package to find it without manually providing the build dir. (See: https://cmake.org/cmake/help/latest/command/export.html) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 216f1c2829f..cc901cea606 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Top level CMakeLists.txt for CGAL-branchbuild message( "== CMake setup ==" ) project(CGAL CXX C) - +export(PACKAGE CGAL) # Minimal version of CMake: cmake_minimum_required(VERSION 3.1)