File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ include(CMakePackageConfigHelpers)
20
20
#######
21
21
option (BUILD_WITHOUT_LAPACK "Do not build LAPACK and LAPACKE (Only BLAS or CBLAS)" OFF )
22
22
23
+ option (BUILD_TESTING "Build LAPACK testsuite when building LAPACK" ON )
24
+
23
25
option (BUILD_WITHOUT_CBLAS "Do not build the C interface (CBLAS) to the BLAS functions" OFF )
24
26
25
27
option (DYNAMIC_ARCH "Include support for multiple CPU targets, with automatic selection at runtime (x86/x86_64, aarch64 or ppc only)" OFF )
@@ -311,7 +313,9 @@ if (NOT NOFORTRAN)
311
313
if (NOT NO_CBLAS )
312
314
add_subdirectory (ctest )
313
315
endif ()
314
- add_subdirectory (lapack-netlib/TESTING )
316
+ if (BUILD_TESTING )
317
+ add_subdirectory (lapack-netlib/TESTING )
318
+ endif ()
315
319
if (CPP_THREAD_SAFETY_TEST OR CPP_THREAD_SAFETY_GEMV )
316
320
add_subdirectory (cpp_thread_test )
317
321
endif ()
You can’t perform that action at this time.
0 commit comments