From: Luca Heltai Date: Mon, 2 May 2016 16:16:02 +0000 (+0200) Subject: Added correct interface to FindGSL. X-Git-Tag: v8.5.0-rc1~1057^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1468d5fdab7a7676a48654967a6365348dad2315;p=dealii.git Added correct interface to FindGSL. --- diff --git a/cmake/modules/FindGSL.cmake b/cmake/modules/FindGSL.cmake index d34649bb27..69bbb303eb 100644 --- a/cmake/modules/FindGSL.cmake +++ b/cmake/modules/FindGSL.cmake @@ -19,6 +19,7 @@ # This module exports # # GSL_LIBRARIES +# GSL_INCLUDE_LIBRARIES # GSL_LINKER_FLAGS # @@ -31,9 +32,17 @@ DEAL_II_FIND_LIBRARY(GSL_LIBRARY PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib ) +DEAL_II_FIND_PATH(GSL_INCLUDE_DIR gsl/gsl_version.h + HINTS ${GSL_DIR} + PATH_SUFFIXES include + ) DEAL_II_PACKAGE_HANDLE(GSL LIBRARIES REQUIRED GSL_LIBRARY - CLEAR GSL_LIBRARY + INCLUDE_DIRS + REQUIRED GSL_INCLUDE_DIR + USER_INCLUDE_DIRS + REQUIRED GSL_INCLUDE_DIR + CLEAR GSL_LIBRARY GSL_INCLUDE_DIR )