[kde-edu]: FindGSL.cmake

Vladimir Kuznetsov ks.vladimir at gmail.com
Thu Mar 15 10:33:08 CET 2007


Hello Carsten !

On 3/15/07, Carsten Niehaus <cniehaus at gmx.de> wrote:
> Moin
>
> I just googled for more versions of FindGSL.cmake. It seems there are at least
> two version of the file, on in KDE one here:
>
> http://www.mip.informatik.uni-kiel.de/~jw/cmake/CMakeModules/FindGSL.cmake
>
> That file is a bit better (I think), the diff is
>
> -    SET(GSL_CONFIG_PREFER_PATH "$ENV{GSL_HOME}/bin" CACHE STRING "preferred
> path to OpenSG (osg-config)")
> +    SET(GSL_CONFIG_PREFER_PATH
> +      "$ENV{GSL_DIR}/bin"
> +      "$ENV{GSL_DIR}"
> +      "$ENV{GSL_HOME}/bin"
> +      "$ENV{GSL_HOME}"
> +      CACHE STRING "preferred path to GSL (gsl-config)")

I've just replaced FindGSL.cmake in Step by this one. One more
advantage of the new file that it supports building on windows.

>
> As it seems several programs are using GSL perhaps there is a way to move the
> file to CMake itself? Does anybody know about this? I could file a
> feature-wish bug to CMake...
Yes, I think it would be great !

-- 
       Best Regards,
          Vladimir


More information about the kde-edu mailing list