From bdb545ce3b294e28cd264c627ceaae42d26ea5f4 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 11 Jul 2011 17:02:09 +0200 Subject: enable instalation of blas and lapack libs --- lapack/CMakeLists.txt | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'lapack') diff --git a/lapack/CMakeLists.txt b/lapack/CMakeLists.txt index 96d6a416d..32fd6ad81 100644 --- a/lapack/CMakeLists.txt +++ b/lapack/CMakeLists.txt @@ -365,14 +365,12 @@ if(EIGEN_STANDARD_LIBRARIES_TO_LINK_TO) 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) - -# install(TARGETS eigen_lapack -# RUNTIME DESTINATION bin -# LIBRARY DESTINATION lib -# ARCHIVE DESTINATION lib) +add_dependencies(lapack eigen_lapack eigen_lapack_static) +install(TARGETS eigen_lapack eigen_lapack_static + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) # add_subdirectory(testing) endif(CMAKE_Fortran_COMPILER_WORKS) -- cgit v1.2.3