|
Lines 472-480
Link Here
|
| 472 |
FIND_PACKAGE(LAPACK) |
472 |
FIND_PACKAGE(LAPACK) |
| 473 |
IF(LAPACK_FOUND) |
473 |
IF(LAPACK_FOUND) |
| 474 |
MESSAGE(STATUS "LAPACK found (${LAPACK_LIBRARIES})") |
474 |
MESSAGE(STATUS "LAPACK found (${LAPACK_LIBRARIES})") |
| 475 |
ELSE(LAPACK_FOUND) |
475 |
FIND_PACKAGE(BLAS) |
| 476 |
MESSAGE(STATUS "LAPACK not found, using LU-based solver") |
476 |
IF(BLAS_FOUND) |
|
|
477 |
MESSAGE(STATUS "BLAS found (${BLAS_LIBRARIES})") |
| 478 |
ENDIF(BLAS_FOUND) |
| 477 |
ENDIF(LAPACK_FOUND) |
479 |
ENDIF(LAPACK_FOUND) |
|
|
480 |
IF(NOT BLAS_FOUND OR NOT LAPACK_FOUND) |
| 481 |
MESSAGE(STATUS "BLAS or LAPACK not found, using LU-based solver") |
| 482 |
SET(LAPACK_FOUND OFF) |
| 483 |
ENDIF(NOT BLAS_FOUND OR NOT LAPACK_FOUND) |
| 478 |
ENDIF(ENABLE_LAPACK) |
484 |
ENDIF(ENABLE_LAPACK) |
| 479 |
|
485 |
|
| 480 |
OPTION(USE_GDKBACKEND_X11 "Enforce GDK_BACKEND=x11 for Hugin as workaround for wxWidgets bug (not supporting wxGLCanvas on Wayland)" OFF) |
486 |
OPTION(USE_GDKBACKEND_X11 "Enforce GDK_BACKEND=x11 for Hugin as workaround for wxWidgets bug (not supporting wxGLCanvas on Wayland)" OFF) |