From 11c2d7f4340e4c39cc265e74ce8f35473d9c3559 Mon Sep 17 00:00:00 2001
From: Achim Gsell <achim.gsell@psi.ch>
Date: Thu, 4 Jul 2019 17:15:42 +0200
Subject: [PATCH] some comments added to FindGSL.cmake

---
 CMakeModules/FindGSL.cmake | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/CMakeModules/FindGSL.cmake b/CMakeModules/FindGSL.cmake
index b796d82c8..ee48177fe 100644
--- a/CMakeModules/FindGSL.cmake
+++ b/CMakeModules/FindGSL.cmake
@@ -1,10 +1,19 @@
 #
-# Find GSL includes and library
+# Find GSL includes and libraries
+#
+# The FindGSL module shipped with CMake has some drawbacks. To be 
+# able to find GSL, the CMake variable GSL_ROOT_DIR *must* be set.
+# The environment variable C_INCLUDE_PATH and LIBRARY_PATH are
+# *not* taken into account.
+#
+# The following variables will be set if GSL is found:
+#
+# GSL_INCLUDE_DIR	where to find GSL include files
+# GSL_LIBRARY		GSL library to link against.
+# GSL_CBLAS_LIBRARY 	GSL CBlas library to link against
+# GSL_LIBRARIES		GSL libraries required for linking
+# GSL_FOUND		set to True if GSL was found
 #
-# GSL_INCLUDE_DIR - where to find ippl.h
-# GSL_LIBRARY     - GSL library to link against.
-# GSL_CBLAS_LIBRARY - GSL CBlas library to link against
-# GSL_FOUND       - do not attempt to use if "no" or undefined.
 
 if( DEFINED ENV{GSL_ROOT_DIR} )
   set( GSL_ROOT_DIR $ENV{GSL_ROOT_DIR} )
-- 
GitLab