From 87460d93fb02e380ef9aa4d6cf91c62d3a490fbc Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Sun, 4 Apr 2021 17:37:36 +0200 Subject: [PATCH] [cmake] Use file-glob to gather headers to install --- dune/foamgrid/foamgrid/CMakeLists.txt | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/dune/foamgrid/foamgrid/CMakeLists.txt b/dune/foamgrid/foamgrid/CMakeLists.txt index f7ca69b..a067bf4 100644 --- a/dune/foamgrid/foamgrid/CMakeLists.txt +++ b/dune/foamgrid/foamgrid/CMakeLists.txt @@ -1,18 +1,4 @@ -#install headers -install(FILES foamgrid.cc - foamgridedge.hh - foamgridelements.hh - foamgridentity.hh - foamgridentitypointer.hh - foamgridentityseed.hh - foamgridfactory.hh - foamgridgeometry.hh - foamgridhierarchiciterator.hh - foamgridindexsets.hh - foamgridintersectioniterators.hh - foamgridintersections.hh - foamgridleafiterator.hh - foamgridleveliterator.hh - foamgridnulliteratorfactory.hh - foamgridvertex.hh - DESTINATION include/dune/foamgrid/foamgrid) +# install headers +file(GLOB DUNE_FOAMGRID_HEADERS *.hh) +install(FILES foamgrid.cc ${DUNE_FOAMGRID_HEADERS} + DESTINATION include/dune/foamgrid/foamgrid) -- GitLab