mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
enable instalation of blas and lapack libs
This commit is contained in:
parent
5fdebc2fa5
commit
bdb545ce3b
@ -33,7 +33,7 @@ endif()
|
|||||||
|
|
||||||
add_dependencies(blas eigen_blas eigen_blas_static)
|
add_dependencies(blas eigen_blas eigen_blas_static)
|
||||||
|
|
||||||
install(TARGETS eigen_blas
|
install(TARGETS eigen_blas eigen_blas_static
|
||||||
RUNTIME DESTINATION bin
|
RUNTIME DESTINATION bin
|
||||||
LIBRARY DESTINATION lib
|
LIBRARY DESTINATION lib
|
||||||
ARCHIVE DESTINATION lib)
|
ARCHIVE DESTINATION lib)
|
||||||
|
@ -365,14 +365,12 @@ if(EIGEN_STANDARD_LIBRARIES_TO_LINK_TO)
|
|||||||
target_link_libraries(eigen_lapack ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
|
target_link_libraries(eigen_lapack ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# add_dependencies(lapack eigen_lapack eigen_lapack_static)
|
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)
|
|
||||||
|
|
||||||
|
install(TARGETS eigen_lapack eigen_lapack_static
|
||||||
|
RUNTIME DESTINATION bin
|
||||||
|
LIBRARY DESTINATION lib
|
||||||
|
ARCHIVE DESTINATION lib)
|
||||||
|
|
||||||
# add_subdirectory(testing)
|
# add_subdirectory(testing)
|
||||||
endif(CMAKE_Fortran_COMPILER_WORKS)
|
endif(CMAKE_Fortran_COMPILER_WORKS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user