From 85fbd74889461757e5b97999c484888ff2b4c213 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Tue, 26 Oct 2021 17:36:19 +0200
Subject: [PATCH] [cmake] Include FeatureSummary where used

---
 cmake/modules/FindGLPK.cmake     | 1 +
 cmake/modules/FindGmsh.cmake     | 1 +
 cmake/modules/FindGstat.cmake    | 1 +
 cmake/modules/FindNLOPT.cmake    | 1 +
 cmake/modules/FindPVPython.cmake | 1 +
 5 files changed, 5 insertions(+)

diff --git a/cmake/modules/FindGLPK.cmake b/cmake/modules/FindGLPK.cmake
index 9a7ef3f141..e8261073fc 100644
--- a/cmake/modules/FindGLPK.cmake
+++ b/cmake/modules/FindGLPK.cmake
@@ -101,5 +101,6 @@ if(GLPK_FOUND)
 endif()
 
 # text for feature summary
+include(FeatureSummary)
 set_package_properties("GLPK" PROPERTIES
   DESCRIPTION "GNU Linear Programming Kit")
diff --git a/cmake/modules/FindGmsh.cmake b/cmake/modules/FindGmsh.cmake
index 0d0ac8c132..1170279bac 100644
--- a/cmake/modules/FindGmsh.cmake
+++ b/cmake/modules/FindGmsh.cmake
@@ -46,6 +46,7 @@ set(HAVE_GMSH ${gmsh_FOUND})
 set(GMSH_EXECUTABLE ${GMSH_EXECUTABLE})
 
 # text for feature summary
+include(FeatureSummary)
 set_package_properties("Gmsh" PROPERTIES
   DESCRIPTION "Meshing tool"
   PURPOSE "Generate structured and unstructured grids")
diff --git a/cmake/modules/FindGstat.cmake b/cmake/modules/FindGstat.cmake
index a55ce86883..b97ae45fc6 100644
--- a/cmake/modules/FindGstat.cmake
+++ b/cmake/modules/FindGstat.cmake
@@ -46,6 +46,7 @@ set(HAVE_GSTAT ${GSTAT_FOUND})
 set(GSTAT_EXECUTABLE ${GSTAT_EXECUTABLE})
 
 # text for feature summary
+include(FeatureSummary)
 set_package_properties("Gstat" PROPERTIES
   DESCRIPTION "Geostatistic library"
   PURPOSE "Generate random permeability and porosity fields")
diff --git a/cmake/modules/FindNLOPT.cmake b/cmake/modules/FindNLOPT.cmake
index 39148f70fe..45b016f64e 100644
--- a/cmake/modules/FindNLOPT.cmake
+++ b/cmake/modules/FindNLOPT.cmake
@@ -102,5 +102,6 @@ if(NLOPT_FOUND)
 endif()
 
 # text for feature summary
+include(FeatureSummary)
 set_package_properties("NLOPT" PROPERTIES
   DESCRIPTION "Library for nonlinear optimization")
diff --git a/cmake/modules/FindPVPython.cmake b/cmake/modules/FindPVPython.cmake
index a11941dacf..8cf7cd4909 100644
--- a/cmake/modules/FindPVPython.cmake
+++ b/cmake/modules/FindPVPython.cmake
@@ -46,6 +46,7 @@ set(HAVE_PVPYTHON ${PVPYTHON_FOUND})
 set(PVPYTHON_EXECUTABLE ${PVPYTHON_EXECUTABLE})
 
 # text for feature summary
+include(FeatureSummary)
 set_package_properties("PVPython" PROPERTIES
   DESCRIPTION "ParaView python client"
   PURPOSE "Extract data over line or time in post-processing")
-- 
GitLab