SET(CMAKE_PREFIX_PATH ${_cmake_prefix_path_backup})
+MARK_AS_ADVANCED(
+ atlas_LIBRARY
+ blas_LIBRARY
+ gslcblas_LIBRARY
+ lapack_LIBRARY
+ m_LIBRARY
+ ptf77blas_LIBRARY
+ ptlapack_LIBRARY
+ refblas_LIBRARY
+ reflapack_LIBRARY
+ )
IF(LAPACK_FOUND)
LIST(APPEND LAPACK_LIBRARIES ${BLAS_LIBRARIES})
ENDIF()
- MARK_AS_ADVANCED(
- atlas_LIBRARY
- blas_LIBRARY
- gslcblas_LIBRARY
- lapack_LIBRARY
- m_LIBRARY
- ptf77blas_LIBRARY
- ptlapack_LIBRARY
- refblas_LIBRARY
- reflapack_LIBRARY
- )
-
#
# Well, in case of static archives we have to manually pick up the
# complete link interface. *sigh*
ENDFOREACH()
SWITCH_LIBRARY_PREFERENCE()
+ MARK_AS_ADVANCED(
+ BLAS_DIR
+ LAPACK_DIR
+ )
+
ELSE()
SET(DEALII_LAPACK_FOUND FALSE)
+ SET(LAPACK_DIR "" CACHE PATH
+ "An optional hint to a LAPACK installation"
+ )
+ SET(BLAS_DIR "" CACHE PATH
+ "An optional hint to a BLAS installation"
+ )
+
#
# If we couldn't find LAPACK, clean up the library variables:
#
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams