Skip to content

Commit 5f200dc

Browse files
authored
Merge pull request #5166 from martin-frbg/issue5158
Expose the option to build without LAPACKE to ccmake
2 parents 8b98db1 + 35914aa commit 5f200dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

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

24+
option(BUILD_WITHOUT_LAPACKE "Do not build the C interface to LAPACK)" OFF)
25+
2426
option(BUILD_LAPACK_DEPRECATED "When building LAPACK, include also some older, deprecated routines" ON)
2527

2628
set(LAPACK_STRLEN "" CACHE STRING "When building LAPACK, use this type (e.g. \"int\") for character lengths (defaults to size_t)")
@@ -81,6 +83,10 @@ if(BUILD_WITHOUT_LAPACK)
8183
set(NO_LAPACKE 1)
8284
endif()
8385

86+
if (BUILD_WITHOUT_LAPACKE)
87+
set(NO_LAPACKE 1)
88+
endif()
89+
8490
if(BUILD_WITHOUT_CBLAS)
8591
set(NO_CBLAS 1)
8692
endif()

0 commit comments

Comments
 (0)