enable instalation of blas and lapack libs

This commit is contained in:
Gael Guennebaud 2011-07-11 17:02:09 +02:00
parent 5fdebc2fa5
commit bdb545ce3b
2 changed files with 6 additions and 8 deletions

View File

@ -33,7 +33,7 @@ endif()
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)

View File

@ -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)