Skip to content

Commit 35914aa

Browse files
authored
Expose the option to build without LAPACKE to ccmake
1 parent c797e27 commit 35914aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

+6
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)