Skip to content

Commit cd8eb33

Browse files
authored
Expose BUILD_LAPACK_DEPRECATED
1 parent 57bdc36 commit cd8eb33

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ include(CMakePackageConfigHelpers)
2020
#######
2121
option(BUILD_WITHOUT_LAPACK "Do not build LAPACK and LAPACKE (Only BLAS or CBLAS)" OFF)
2222

23+
option(BUILD_LAPACK_DEPRECATED "When building LAPACK, include also some older, deprecated routines" ON)
24+
2325
option(BUILD_TESTING "Build LAPACK testsuite when building LAPACK" ON)
2426

2527
option(C_LAPACK "Build LAPACK from C sources instead of the original Fortran" OFF)
@@ -398,12 +400,12 @@ if (BUILD_SHARED_LIBS AND NOT ${SYMBOLPREFIX}${SYMBOLSUFFIX} STREQUAL "")
398400
message(STATUS "adding suffix ${SYMBOLSUFFIX} to names of exported symbols in ${OpenBLAS_LIBNAME}")
399401
endif()
400402

401-
if (${BUILD_LAPACK_DEPRECATED})
403+
if (${BUILD_LAPACK_DEPRECATED})
402404
set (BLD 1)
403405
else ()
404406
set (BLD 0)
405407
endif()
406-
if (${BUILD_BFLOAT16})
408+
if (${BUILD_BFLOAT16})
407409
set (BBF16 1)
408410
else ()
409411
set (BBF16 0)

0 commit comments

Comments
 (0)