--- lapack-3.7.0.old/CMakeLists.txt +++ lapack-3.7.0/CMakeLists.txt @@ -159,7 +159,7 @@ set(DSECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/dsecnd_${TIME_FUNC}.f) # By default static library -option(BUILD_SHARED_LIBS "Build shared libraries" OFF) +option(BUILD_SHARED_LIBS "Build shared libraries" ON) option(BUILD_TESTING "Build tests" OFF) ====== end of patch ======