diff options
-rw-r--r-- | blas/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lapack/CMakeLists.txt | 12 |
2 files changed, 6 insertions, 8 deletions
diff --git a/blas/CMakeLists.txt b/blas/CMakeLists.txt index 5f2e3cd32..1811a18a7 100644 --- a/blas/CMakeLists.txt +++ b/blas/CMakeLists.txt @@ -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) 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) |