Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /CMakeModules/FindLAPACK.cmake [9e26cc] .. [832b36] Maximize Restore

  Switch to side-by-side view

--- a/CMakeModules/FindLAPACK.cmake
+++ b/CMakeModules/FindLAPACK.cmake
@@ -9,24 +9,21 @@
 
 FIND_LIBRARY(LAPACK_LAPACK_LIBRARY
   NAMES lapack
-  PATHS /usr/lib
-        /usr/local/lib
+  PATHS ${SYSTEM_LIB_DIRS}
         ${SOURCE_BASE_DIR}/
         ${SOURCE_BASE_DIR}/lapack
   )
 
 FIND_LIBRARY(LAPACK_BLAS_LIBRARY
   NAMES blas
-  PATHS /usr/lib
-        /usr/local/lib
+  PATHS ${SYSTEM_LIB_DIRS}
         ${SOURCE_BASE_DIR}/
         ${SOURCE_BASE_DIR}/lapack
   )
 
 FIND_LIBRARY(LAPACK_G2C_LIBRARY
   NAMES g2c
-  PATHS /usr/lib
-        /usr/local/lib
+  PATHS ${SYSTEM_LIB_DIRS}
         ${SOURCE_BASE_DIR}/
         ${SOURCE_BASE_DIR}/lapack
   )