fix compilation order of lapack

As reported on the mailing list, there was a problem
for some users. The link phase of building the simulators
was giving the error "undefined reference to ATL_scopy".
This commit is contained in:
Cedric Roux
2017-01-06 11:54:49 +01:00
parent 23fc8fdb26
commit 3f4a993e9f
+1 -1
View File
@@ -1691,7 +1691,7 @@ endif()
# Atlas is required by some packages, but not found in pkg-config
if(EXISTS "/usr/include/atlas/cblas.h")
include_directories("/usr/include/atlas")
list(APPEND ATLAS_LIBRARIES lapack cblas atlas)
list(APPEND ATLAS_LIBRARIES cblas atlas lapack)
else()
message("No Blas/Atlas libs found, some targets will fail")
endif()