aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-11-03 04:08:43 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-11-03 04:08:43 -0700
commitfbe672d5994dedfdfcb8c8359aed406f18421de7 (patch)
tree0334ee31a87eca2eb5f48f0d8b00515a65354456 /blas
parentca0ba0d9a41683832ce0cd5e208b2696aab61e11 (diff)
Reenable the generation of dynamic blas libraries.
Diffstat (limited to 'blas')
-rw-r--r--blas/CMakeLists.txt8
-rw-r--r--blas/testing/CMakeLists.txt2
2 files changed, 5 insertions, 5 deletions
diff --git a/blas/CMakeLists.txt b/blas/CMakeLists.txt
index 20e2698a7..d0efb4188 100644
--- a/blas/CMakeLists.txt
+++ b/blas/CMakeLists.txt
@@ -29,16 +29,16 @@ else()
endif()
add_library(eigen_blas_static ${EigenBlas_SRCS})
-#add_library(eigen_blas SHARED ${EigenBlas_SRCS})
+add_library(eigen_blas SHARED ${EigenBlas_SRCS})
if(EIGEN_STANDARD_LIBRARIES_TO_LINK_TO)
target_link_libraries(eigen_blas_static ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
-# target_link_libraries(eigen_blas ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
+ target_link_libraries(eigen_blas ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
endif()
-add_dependencies(blas eigen_blas_static)
+add_dependencies(blas eigen_blas eigen_blas_static)
-install(TARGETS eigen_blas_static
+install(TARGETS eigen_blas eigen_blas_static
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
diff --git a/blas/testing/CMakeLists.txt b/blas/testing/CMakeLists.txt
index 04cc92c67..3ab8026ea 100644
--- a/blas/testing/CMakeLists.txt
+++ b/blas/testing/CMakeLists.txt
@@ -6,7 +6,7 @@ macro(ei_add_blas_test testname)
set(filename ${testname}.f)
add_executable(${targetname} ${filename})
- target_link_libraries(${targetname} eigen_blas_static)
+ target_link_libraries(${targetname} eigen_blas)
if(EIGEN_STANDARD_LIBRARIES_TO_LINK_TO)
target_link_libraries(${targetname} ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})