Unverified Commit 87ac0dc5 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

Merge commit 'refs/pull/1950/head' of github.com:lammps/lammps into atc-doc-to-rst

parents a7f16f52 a541434e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -262,8 +262,8 @@ if(PKG_MSCG OR PKG_USER-ATC OR PKG_USER-AWPMD OR PKG_USER-QUIP OR PKG_LATTE)
    enable_language(Fortran)
    file(GLOB LAPACK_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/linalg/[^.]*.[fF])
    add_library(linalg STATIC ${LAPACK_SOURCES})
    set(BLAS_LIBRARIES "${CMAKE_BINARY_DIR}/liblinalg.a")
    set(LAPACK_LIBRARIES "${CMAKE_BINARY_DIR}/liblinalg.a")
    set(BLAS_LIBRARIES "$<TARGET_FILE:linalg>")
    set(LAPACK_LIBRARIES "$<TARGET_FILE:linalg>")
  else()
    list(APPEND LAPACK_LIBRARIES ${BLAS_LIBRARIES})
  endif()