mirror of https://github.com/CGAL/cgal
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)
This commit is contained in:
parent
a586226ff1
commit
f924d51c6f
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue