== Patch provided by Brad King from Kitware - brad.king@kitware.com ==
authorjulie <julielangou@users.noreply.github.com>
Sun, 9 Feb 2014 00:37:45 +0000 (00:37 +0000)
committerjulie <julielangou@users.noreply.github.com>
Sun, 9 Feb 2014 00:37:45 +0000 (00:37 +0000)
commitdf747406083c0d2a08d7e2c9b8ad7b93a570e104
treea98b3e15c0f92544337618fbdfc41435c9478b24
parenta681d8fc7a25c6fc3c90ce0fff72dfd60c23e0f8
== Patch provided by Brad King from Kitware - brad.king@kitware.com ==

Provide CMake packages for both LAPACK and LAPACKE

Teach "lapack-config.cmake" to provide variables

 LAPACK_blas_LIBRARIES
 LAPACK_lapack_LIBRARIES

that contain either the target names when using the reference
implementation or the system libraries found for them.

Configure a "lapacke-config.cmake" file for the build and install
trees to package LAPACKE.  Teach it to load the LAPACK package
installed with it.  Provide variables

 LAPACKE_INCLUDE_DIRS
 LAPACKE_LIBRARIES

containing the header file search path for lapacke headers
and the list of lapacke library targets.

This requires CMake 2.8.10 to separate the installation export
for the lapacke library from the other targets.
CMAKE/lapack-config-build.cmake.in
CMAKE/lapack-config-install.cmake.in
CMakeLists.txt
lapacke/CMakeLists.txt
lapacke/cmake/lapacke-config-build.cmake.in [new file with mode: 0644]
lapacke/cmake/lapacke-config-install.cmake.in [new file with mode: 0644]
lapacke/cmake/lapacke-config-version.cmake.in [new file with mode: 0644]