Fix CMakeLists.txt only blas is exported, lapack needs to be exported as well. (From...
authorjulie <julielangou@users.noreply.github.com>
Tue, 23 Mar 2010 19:57:29 +0000 (19:57 +0000)
committerjulie <julielangou@users.noreply.github.com>
Tue, 23 Mar 2010 19:57:29 +0000 (19:57 +0000)
CMakeLists.txt

index c922b0163e9a10fc58eb48880246fb4440e142cf..1a7b4e998f4da9c571a38c3b4b6a7fb61f081235 100644 (file)
@@ -30,7 +30,7 @@ set(CPACK_PACKAGE_VERSION_MAJOR 3)
 set(CPACK_PACKAGE_VERSION_MINOR 2)
 set(CPACK_PACKAGE_VERSION_PATCH 1)
 include(CPack)
-export(TARGETS blas FILE lapack-targets.cmake)
+export(TARGETS blas lapack FILE lapack-targets.cmake)
 configure_file(${LAPACK_SOURCE_DIR}/lapack-config-version.cmake.in
   ${LAPACK_BINARY_DIR}/lapack-config-version.cmake @ONLY)
 configure_file(${LAPACK_SOURCE_DIR}/lapack-config.cmake.in