enable instalation of blas and lapack libs
diff --git a/blas/CMakeLists.txt b/blas/CMakeLists.txt index 5f2e3cd..1811a18 100644 --- a/blas/CMakeLists.txt +++ b/blas/CMakeLists.txt
@@ -33,7 +33,7 @@ add_dependencies(blas eigen_blas eigen_blas_static) -install(TARGETS eigen_blas +install(TARGETS eigen_blas eigen_blas_static RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
diff --git a/lapack/CMakeLists.txt b/lapack/CMakeLists.txt index 96d6a41..32fd6ad 100644 --- a/lapack/CMakeLists.txt +++ b/lapack/CMakeLists.txt
@@ -365,14 +365,12 @@ target_link_libraries(eigen_lapack ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO}) endif() -# add_dependencies(lapack eigen_lapack eigen_lapack_static) -add_dependencies(lapack eigen_lapack_static) +add_dependencies(lapack eigen_lapack eigen_lapack_static) -# install(TARGETS eigen_lapack -# RUNTIME DESTINATION bin -# LIBRARY DESTINATION lib -# ARCHIVE DESTINATION lib) - +install(TARGETS eigen_lapack eigen_lapack_static + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) # add_subdirectory(testing) endif(CMAKE_Fortran_COMPILER_WORKS)