From 4e871c6c8082ed7f11aadfb53eef4ecc7e60c948 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 24 Mar 2010 19:34:18 +0100 Subject: blas: fix compilation and build both a shared and static lib --- blas/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'blas/CMakeLists.txt') diff --git a/blas/CMakeLists.txt b/blas/CMakeLists.txt index e71076f9d..d1f5b5676 100644 --- a/blas/CMakeLists.txt +++ b/blas/CMakeLists.txt @@ -4,9 +4,9 @@ add_custom_target(blas) set(EigenBlas_SRCS single.cpp double.cpp complex_single.cpp complex_double.cpp xerbla.cpp) -add_library(eigen_blas ${EigenBlas_SRCS}) -# add_library(eigen_blas SHARED ${EigenBlas_SRCS}) -add_dependencies(blas eigen_blas) +add_library(eigen_blas_static ${EigenBlas_SRCS}) +add_library(eigen_blas SHARED ${EigenBlas_SRCS}) +add_dependencies(blas eigen_blas eigen_blas_static) install(TARGETS eigen_blas RUNTIME DESTINATION bin -- cgit v1.2.3